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

Unified Diff: remoting/client/ios/app_runtime.cc

Issue 2729523006: Remove the |max_threads| argument from CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: self-review 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
Index: remoting/client/ios/app_runtime.cc
diff --git a/remoting/client/ios/app_runtime.cc b/remoting/client/ios/app_runtime.cc
index b5fa390baaff6100d53bfb6743de8a85351fa6b9..1ebe5e127b458bd2b882c7793306c6737edf0a3d 100644
--- a/remoting/client/ios/app_runtime.cc
+++ b/remoting/client/ios/app_runtime.cc
@@ -29,11 +29,9 @@ namespace remoting {
namespace ios {
AppRuntime::AppRuntime() {
- // 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");
}
// TODO(sergeyu): AppRuntime is not singleton, but it owns MessageLoop for the

Powered by Google App Engine
This is Rietveld 408576698