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

Unified Diff: remoting/client/chromoting_client_runtime.cc

Issue 2729523006: Remove the |max_threads| argument from CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: fix build error 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') | remoting/client/ios/app_runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client_runtime.cc
diff --git a/remoting/client/chromoting_client_runtime.cc b/remoting/client/chromoting_client_runtime.cc
index 79122beb0e068aa21859309dc83cd67a4148d522..0e4a6ab919b6ef03d306da3ad3ce18fe9cd28a04 100644
--- a/remoting/client/chromoting_client_runtime.cc
+++ b/remoting/client/chromoting_client_runtime.cc
@@ -28,12 +28,7 @@ ChromotingClientRuntime* ChromotingClientRuntime::GetInstance() {
}
ChromotingClientRuntime::ChromotingClientRuntime() {
- // TODO(sergeyu): Consider adding separate pools for different task classes.
- const int kMaxBackgroundThreads = 5;
- if (!base::TaskScheduler::GetInstance()) {
- // Make sure TaskScheduler is initialized.
- base::TaskScheduler::CreateAndSetSimpleTaskScheduler(kMaxBackgroundThreads);
- }
+ base::TaskScheduler::CreateAndSetSimpleTaskScheduler("Remoting");
if (!base::MessageLoop::current()) {
VLOG(1) << "Starting main message loop";
« no previous file with comments | « content/child/child_process.cc ('k') | remoting/client/ios/app_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698