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

Unified Diff: content/ppapi_plugin/ppapi_plugin_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/ppapi_plugin/ppapi_broker_main.cc ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_plugin_main.cc
diff --git a/content/ppapi_plugin/ppapi_plugin_main.cc b/content/ppapi_plugin/ppapi_plugin_main.cc
index e23b1e4a32fda1957177da91a1b76ad2d65b7c59..9ad1ecf40100d58de15b4ab3a67f7cc39e1cfa28 100644
--- a/content/ppapi_plugin/ppapi_plugin_main.cc
+++ b/content/ppapi_plugin/ppapi_plugin_main.cc
@@ -5,7 +5,6 @@
#include "base/command_line.h"
#include "base/debug/debugger.h"
#include "base/message_loop.h"
-#include "base/threading/platform_thread.h"
#include "build/build_config.h"
#include "content/common/child_process.h"
#include "content/common/content_switches.h"
@@ -41,8 +40,7 @@ int PpapiPluginMain(const MainFunctionParams& parameters) {
ChildProcess::WaitForDebugger("Ppapi");
}
- MessageLoop main_message_loop(MessageLoop::TYPE_IO);
- base::PlatformThread::SetName("CrPPAPIMain");
+ MessageLoop main_message_loop("CrPPAPIMain", MessageLoop::TYPE_IO);
ChildProcess ppapi_process;
ppapi_process.set_main_thread(new PpapiThread(false)); // Not a broker.
« no previous file with comments | « content/ppapi_plugin/ppapi_broker_main.cc ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698