diff options
Diffstat (limited to 'content/browser/browser_main.cc')
-rw-r--r-- | content/browser/browser_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/browser_main.cc b/content/browser/browser_main.cc index df6a4e0..640ccee 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()); |