summaryrefslogtreecommitdiff
path: root/chromium/content/common/thread_pool_util.h
blob: 98b64bbdcd2d1e4efc1e19c5e44656d8fbd8db8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2017 The Chromium Authors
// 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 <stddef.h>

namespace content {

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

}  // namespace content

#endif  // CONTENT_COMMON_THREAD_POOL_UTIL_H_