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

Unified Diff: content/plugin/plugin_main.cc

Issue 17451017: Process names, and predictable thread and process ordering in about:tracing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: content/plugin/plugin_main.cc
diff --git a/content/plugin/plugin_main.cc b/content/plugin/plugin_main.cc
index df47c2149000cd3fbf257f194e6404927e8134e4..9908cfea3bb40e6d9480e8e5ed76c9fcb91e3606 100644
--- a/content/plugin/plugin_main.cc
+++ b/content/plugin/plugin_main.cc
@@ -54,6 +54,8 @@ int PluginMain(const MainFunctionParams& parameters) {
#endif
base::MessageLoop main_message_loop(base::MessageLoop::TYPE_UI);
base::PlatformThread::SetName("CrPluginMain");
+ base::debug::TraceLog::GetInstance()->SetProcessLabel(0, 'Plugin Process');
+ base::debug::TraceLog::SetProcessSortIndex(2);
base::PowerMonitor power_monitor;
HighResolutionTimerManager high_resolution_timer_manager;

Powered by Google App Engine
This is Rietveld 408576698