Avi Drissman | 4e1b7bc3 | 2022-09-15 14:03:50 | [diff] [blame] | 1 | // Copyright 2018 The Chromium Authors |
Xi Han | 636c7ca5 | 2018-10-04 16:56:29 | [diff] [blame] | 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_BROWSER_STARTUP_HELPER_H_ |
| 6 | #define CONTENT_BROWSER_STARTUP_HELPER_H_ |
| 7 | |
| 8 | #include "base/metrics/field_trial.h" |
| 9 | #include "content/common/content_export.h" |
| 10 | |
| 11 | namespace content { |
| 12 | |
| 13 | // Setups fields trials and the FeatureList, and returns the unique pointer of |
| 14 | // the field trials. |
| 15 | std::unique_ptr<base::FieldTrialList> CONTENT_EXPORT |
| 16 | SetUpFieldTrialsAndFeatureList(); |
| 17 | |
Gabriel Charette | 52fa3ae | 2019-04-15 21:44:37 | [diff] [blame] | 18 | // Starts the ThreadPool. |
| 19 | void CONTENT_EXPORT StartBrowserThreadPool(); |
Xi Han | 8012e46 | 2018-10-05 19:52:30 | [diff] [blame] | 20 | |
Xi Han | 636c7ca5 | 2018-10-04 16:56:29 | [diff] [blame] | 21 | } // namespace content |
| 22 | |
| 23 | #endif // CONTENT_BROWSER_STARTUP_HELPER_H_ |