Index: content/browser/browser_main.cc |
diff --git a/content/browser/browser_main.cc b/content/browser/browser_main.cc |
index df6a4e0e09191307682542fd44bb0b83028c588b..640ccee5ac715ca9ebc576895bc89b0427da12df 100644 |
--- a/content/browser/browser_main.cc |
+++ b/content/browser/browser_main.cc |
@@ -5,6 +5,7 @@ |
#include "content/browser/browser_main.h" |
#include "base/debug/trace_event.h" |
+#include "content/common/content_constants_internal.h" |
#include "content/public/browser/browser_main_runner.h" |
namespace content { |
@@ -12,6 +13,9 @@ namespace content { |
// Main routine for running as the Browser process. |
int BrowserMain(const MainFunctionParams& parameters) { |
TRACE_EVENT_BEGIN_ETW("BrowserMain", 0, ""); |
+ base::debug::TraceLog::GetInstance()->SetProcessName("Browser"); |
+ base::debug::TraceLog::GetInstance()->SetProcessSortIndex( |
+ kTraceEventBrowserProcessSortIndex); |
scoped_ptr<BrowserMainRunner> main_runner(BrowserMainRunner::Create()); |