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

Unified Diff: chrome/profile_import/profile_import_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 | « chrome/nacl/nacl_main.cc ('k') | chrome/service/service_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/profile_import/profile_import_main.cc
diff --git a/chrome/profile_import/profile_import_main.cc b/chrome/profile_import/profile_import_main.cc
index 01a7c35aa8510712475d6a9c72065c9a852c10a9..ce19587676c44b27b1468d89c5fea4fb5f1a6df9 100644
--- a/chrome/profile_import/profile_import_main.cc
+++ b/chrome/profile_import/profile_import_main.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "base/message_loop.h"
-#include "base/threading/platform_thread.h"
#include "chrome/profile_import/profile_import_thread.h"
#include "content/common/child_process.h"
@@ -12,8 +11,7 @@ struct MainFunctionParams;
// Mainline routine for running as the profile import process.
int ProfileImportMain(const MainFunctionParams& parameters) {
// The main message loop of the profile import process.
- MessageLoop main_message_loop;
- base::PlatformThread::SetName("CrProfileImportMain");
+ MessageLoop main_message_loop("CrProfileImportMain");
ChildProcess profile_import_process;
profile_import_process.set_main_thread(new ProfileImportThread());
« no previous file with comments | « chrome/nacl/nacl_main.cc ('k') | chrome/service/service_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698