Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: content/public/browser/content_browser_client.h

Issue 2749303002: [reference - do not submit] Always create four pools in TaskSchedulerImpl. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/child_process.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « content/child/child_process.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698