Gabriel Charette | 52fa3ae | 2019-04-15 21:44:37 | [diff] [blame] | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef CONTENT_COMMON_THREAD_POOL_UTIL_H_ |
| 6 | #define CONTENT_COMMON_THREAD_POOL_UTIL_H_ |
| 7 | |
Gabriel Charette | 52fa3ae | 2019-04-15 21:44:37 | [diff] [blame] | 8 | namespace content { |
| 9 | |
| 10 | // Returns the minimum number of foreground threads that the ThreadPool |
| 11 | // must have in a process that runs a renderer. |
| 12 | int GetMinForegroundThreadsInRendererThreadPool(); |
| 13 | |
| 14 | } // namespace content |
| 15 | |
| 16 | #endif // CONTENT_COMMON_THREAD_POOL_UTIL_H_ |