| Index: content/public/renderer/content_renderer_client.h
|
| diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
|
| index 78543f883ce061fd47b90459db6f184551651c57..c5117a28840c33536d4ac6601079234dc104a7f8 100644
|
| --- a/content/public/renderer/content_renderer_client.h
|
| +++ b/content/public/renderer/content_renderer_client.h
|
| @@ -29,7 +29,6 @@ class SkBitmap;
|
|
|
| namespace base {
|
| class FilePath;
|
| -class SchedulerWorkerPoolParams;
|
| }
|
|
|
| namespace blink {
|
| @@ -359,12 +358,10 @@ class CONTENT_EXPORT ContentRendererClient {
|
| // An empty URL is returned if the URL is not overriden.
|
| virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
|
|
|
| - // Provides parameters for initializing the global task scheduler. If
|
| - // |params_vector| is left 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();
|
|
|
| // Returns true if the media pipeline can be suspended, or false otherwise.
|
| virtual bool AllowMediaSuspend();
|
|
|