summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorcsharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 02:14:56 +0000
committercsharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-23 02:14:56 +0000
commit04ee042f44bc85e8b34e15a01226d97b0b001896 (patch)
tree7cd15e98b1446db79bda3985a4f51bc812688b09 /chrome/app
parentc910c5a68ca7baf2da4edfd722f55f2b089402e2 (diff)
downloadchromium_src-04ee042f44bc85e8b34e15a01226d97b0b001896.zip
chromium_src-04ee042f44bc85e8b34e15a01226d97b0b001896.tar.gz
chromium_src-04ee042f44bc85e8b34e15a01226d97b0b001896.tar.bz2
Let Chrome Elf know when Chrome has started sooner
In the old location Chrome could have exited (safely) before Chrome Elf was alerted that Chrome was working correctly. This was causing successful blacklist setups to get counted as failures. BUG= Review URL: https://codereview.chromium.org/143823013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246487 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/chrome_exe_main_win.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc
index e5f8bbc..51b1edf 100644
--- a/chrome/app/chrome_exe_main_win.cc
+++ b/chrome/app/chrome_exe_main_win.cc
@@ -121,6 +121,10 @@ bool AttemptFastNotify(const CommandLine& command_line) {
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) {
startup_metric_utils::RecordExeMainEntryTime();
+
+ // Signal Chrome Elf that Chrome has begun to start.
+ SignalChromeElf();
+
// Initialize the commandline singleton from the environment.
CommandLine::Init(0, NULL);
// The exit manager is in charge of calling the dtors of singletons.
@@ -131,9 +135,6 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) {
if (AttemptFastNotify(*CommandLine::ForCurrentProcess()))
return 0;
- // Signal Chrome Elf that Chrome has begun to start.
- SignalChromeElf();
-
MetroDriver metro_driver;
if (metro_driver.in_metro_mode())
return metro_driver.RunInMetro(instance, &RunChrome);