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

Side by Side Diff: content/renderer/render_process.cc

Issue 2687903003: Add TaskScheduler initialization arguments to ChildProcess. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <utility>
6
7 #include "content/renderer/render_process.h"
8
9 namespace content {
10
11 RenderProcess::RenderProcess(
12 const std::vector<base::SchedulerWorkerPoolParams>& worker_pool_params,
13 base::TaskScheduler::WorkerPoolIndexForTraitsCallback
14 worker_pool_index_for_traits_callback)
15 : ChildProcess(base::ThreadPriority::NORMAL,
16 worker_pool_params,
17 std::move(worker_pool_index_for_traits_callback)) {}
18
19 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698