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

Unified Diff: remoting/host/it2me/it2me_native_messaging_host_main.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 | « remoting/client/ios/app_runtime.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_native_messaging_host_main.cc
diff --git a/remoting/host/it2me/it2me_native_messaging_host_main.cc b/remoting/host/it2me/it2me_native_messaging_host_main.cc
index 0bf0eefb2ced6525712549c7599485d9e00aeb39..8d80b58ef2cd799447aa6be0edae334133b08321 100644
--- a/remoting/host/it2me/it2me_native_messaging_host_main.cc
+++ b/remoting/host/it2me/it2me_native_messaging_host_main.cc
@@ -79,9 +79,7 @@ int It2MeNativeMessagingHostMain(int argc, char** argv) {
// Required to find the ICU data file, used by some file_util routines.
base::i18n::InitializeICU();
- // TODO(sergeyu): Consider adding separate pools for different task classes.
- const int kMaxBackgroundThreads = 5;
- base::TaskScheduler::CreateAndSetSimpleTaskScheduler(kMaxBackgroundThreads);
+ base::TaskScheduler::CreateAndSetSimpleTaskScheduler("It2Me");
remoting::LoadResources("");
« no previous file with comments | « remoting/client/ios/app_runtime.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698