Add additional startup trace events.
* LoadAndDecodeWallpaper
* ShowLoginWebUI
* SetupSandbox
BUG=257026
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/18345013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210156 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 2c7c4a6..5f99db5 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -111,6 +111,7 @@
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
void SetupSandbox(const CommandLine& parsed_command_line) {
+ TRACE_EVENT0("startup", "SetupSandbox");
// TODO(evanm): move this into SandboxWrapper; I'm just trying to move this
// code en masse out of chrome_main for now.
const char* sandbox_binary = NULL;
@@ -317,7 +318,7 @@
// BrowserMainLoop stages ==================================================
void BrowserMainLoop::EarlyInitialization() {
- TRACE_EVENT0("startup", "BrowserMainLoop::EarlyInitialization")
+ TRACE_EVENT0("startup", "BrowserMainLoop::EarlyInitialization");
#if defined(USE_X11)
if (parsed_command_line_.HasSwitch(switches::kSingleProcess) ||
parsed_command_line_.HasSwitch(switches::kInProcessGPU)) {