Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 714a4eb9558a7e6aaa6b6f0216d64d10b221a9e4..77514d6dc75a5a9be37ec001a9a419eb7845d997 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -50,7 +50,6 @@ class GURL; |
namespace base { |
class CommandLine; |
class FilePath; |
-class SchedulerWorkerPoolParams; |
} |
namespace gfx { |
@@ -813,12 +812,10 @@ class CONTENT_EXPORT ContentBrowserClient { |
// Returns the RapporService from the browser process. |
virtual ::rappor::RapporService* GetRapporService(); |
- // Provides parameters for initializing the global task scheduler. If |
- // |params_vector| is empty, default parameters are used. |
- virtual void GetTaskSchedulerInitializationParams( |
- std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
- base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
- index_to_traits_callback) {} |
+ // Provides parameters for initializing the global task scheduler. Default |
+ // params are used if this returns nullptr. |
+ virtual std::unique_ptr<base::TaskScheduler::InitParams> |
+ GetTaskSchedulerInitParams(); |
// Performs any necessary PostTask API redirection to the task scheduler. |
virtual void PerformExperimentalTaskSchedulerRedirections() {} |