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 45056271e932b9d16b6688343186fa795018367e..be188359cbfbbe13317d824fec2a43d722b90b71 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::TaskSchedulerInitParams> |
+ GetTaskSchedulerInitParams(); |
// Performs any necessary PostTask API redirection to the task scheduler. |
virtual void PerformExperimentalTaskSchedulerRedirections() {} |