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

Unified Diff: remoting/client/jni/chromoting_jni_runtime.cc

Issue 2729523006: Remove the |max_threads| argument from CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: CR robliao #11 - ContentChild 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/it2me/it2me_native_messaging_host_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/jni/chromoting_jni_runtime.cc
diff --git a/remoting/client/jni/chromoting_jni_runtime.cc b/remoting/client/jni/chromoting_jni_runtime.cc
index 201683ea6c0572ec8d7c8810fd77c4530c774bd3..4371c64f194278cb73d9cf0ccca27e305bc15399 100644
--- a/remoting/client/jni/chromoting_jni_runtime.cc
+++ b/remoting/client/jni/chromoting_jni_runtime.cc
@@ -43,9 +43,7 @@ bool RegisterChromotingJniRuntime(JNIEnv* env) {
static void LoadNative(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
base::CommandLine::Init(0, nullptr);
- // TODO(sergeyu): Consider adding separate pools for different task classes.
- const int kMaxBackgroundThreads = 5;
- base::TaskScheduler::CreateAndSetSimpleTaskScheduler(kMaxBackgroundThreads);
+ base::TaskScheduler::CreateAndSetSimpleTaskScheduler("RemotingJava");
nicholss 2017/03/17 17:20:54 I have removed this file in https://codereview.chr
fdoray 2017/03/20 16:58:41 Done.
// Create the singleton now so that the Chromoting threads will be set up.
remoting::ChromotingJniRuntime::GetInstance();
« no previous file with comments | « remoting/client/ios/app_runtime.cc ('k') | remoting/host/it2me/it2me_native_messaging_host_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698