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

Unified Diff: content/utility/utility_main.cc

Issue 7529003: Make base::MessageLoops have names at construction time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make message loop name optional. Created 9 years, 5 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/renderer/renderer_main.cc ('k') | content/worker/worker_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_main.cc
diff --git a/content/utility/utility_main.cc b/content/utility/utility_main.cc
index a2a3ea4f0b5a4897302fdd6a3410152bceec2a38..e103eacae2275a00ef1b907f7c1f4c96bb11abaa 100644
--- a/content/utility/utility_main.cc
+++ b/content/utility/utility_main.cc
@@ -5,7 +5,6 @@
#include "base/command_line.h"
#include "base/message_loop.h"
#include "base/system_monitor/system_monitor.h"
-#include "base/threading/platform_thread.h"
#include "content/common/child_process.h"
#include "content/common/content_switches.h"
#include "content/common/hi_res_timer_manager.h"
@@ -19,8 +18,7 @@
// Mainline routine for running as the utility process.
int UtilityMain(const MainFunctionParams& parameters) {
// The main message loop of the utility process.
- MessageLoop main_message_loop;
- base::PlatformThread::SetName("CrUtilityMain");
+ MessageLoop main_message_loop("CrUtilityMain");
base::SystemMonitor system_monitor;
HighResolutionTimerManager hi_res_timer_manager;
« no previous file with comments | « content/renderer/renderer_main.cc ('k') | content/worker/worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698