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 9d1756dec89cfc08ab87e015aae4ddf86b281c50..fc51977512de22b138f3da5f9faad05cecae624f 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -15,6 +15,7 @@ |
#include "base/callback_forward.h" |
#include "base/memory/scoped_vector.h" |
+#include "base/task_scheduler/task_scheduler.h" |
#include "base/values.h" |
#include "build/build_config.h" |
#include "content/public/browser/certificate_request_result_type.h" |
@@ -48,6 +49,7 @@ class GURL; |
namespace base { |
class CommandLine; |
class FilePath; |
+class SchedulerWorkerPoolParams; |
} |
namespace blink { |
@@ -791,6 +793,15 @@ class CONTENT_EXPORT ContentBrowserClient { |
virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host, |
media::mojom::RemotingSourcePtr source, |
media::mojom::RemoterRequest request) {} |
+ |
+ // Provides parameters for initializing the global task scheduler. |
fdoray
2016/12/07 13:46:12
If |params_vector| is empty or |index_to_traits_ca
robliao
2016/12/08 01:04:22
Done.
|
+ virtual void GetTaskSchedulerInitializationParams( |
+ std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
+ base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
+ index_to_traits_callback) {} |
+ |
+ // Performs any necessary PostTask API redirection to the task scheduler. |
+ virtual void PerformRedirectionToTaskScheduler() {} |
}; |
} // namespace content |