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

Unified Diff: content/renderer/render_process_impl.h

Issue 2798623002: Use TaskScheduler::InitParams to initialize TaskScheduler in child processes. (Closed)
Patch Set: Created 3 years, 8 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/renderer/render_process.cc ('k') | content/renderer/render_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_process_impl.h
diff --git a/content/renderer/render_process_impl.h b/content/renderer/render_process_impl.h
index 333cf2c3672b4bb3e338f578e76cbce1683a75b2..65f6e373b5c58d6e4550e9d352ced6e3f97189b6 100644
--- a/content/renderer/render_process_impl.h
+++ b/content/renderer/render_process_impl.h
@@ -9,7 +9,6 @@
#include <vector>
#include "base/macros.h"
-#include "base/task_scheduler/scheduler_worker_pool_params.h"
#include "base/task_scheduler/task_scheduler.h"
#include "content/renderer/render_process.h"
@@ -34,10 +33,8 @@ class RenderProcessImpl : public RenderProcess {
int GetEnabledBindings() const override;
private:
- RenderProcessImpl(
- const std::vector<base::SchedulerWorkerPoolParams>& worker_pool_params,
- base::TaskScheduler::WorkerPoolIndexForTraitsCallback
- worker_pool_index_for_traits_callback);
+ RenderProcessImpl(std::unique_ptr<base::TaskScheduler::InitParams>
+ task_scheduler_init_params);
// Bitwise-ORed set of extra bindings that have been enabled anywhere in this
// process. See BindingsPolicy for details.
« no previous file with comments | « content/renderer/render_process.cc ('k') | content/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698