summaryrefslogtreecommitdiff
path: root/chromium/content/common/thread_pool_util.h
blob: 36ebf5a623b1ca8f0c4485b1920932ad7fa02efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_COMMON_THREAD_POOL_UTIL_H_
#define CONTENT_COMMON_THREAD_POOL_UTIL_H_

#include "content/common/content_export.h"

namespace content {

// Returns the minimum number of foreground threads that the ThreadPool
// must have in a process that runs a renderer.
int GetMinForegroundThreadsInRendererThreadPool();

}  // namespace content

#endif  // CONTENT_COMMON_THREAD_POOL_UTIL_H_