diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-14 03:26:03 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-14 03:26:03 +0000 |
commit | 1152b7ea95609ce835bdb9ab4454b4589b60ea87 (patch) | |
tree | fd9a09dee7e9457d793564cf605388d1359a24a1 /chrome/browser/browser_main.cc | |
parent | 60f1e8fe0973d60e3e786237a283395749550a40 (diff) | |
download | chromium_src-1152b7ea95609ce835bdb9ab4454b4589b60ea87.zip chromium_src-1152b7ea95609ce835bdb9ab4454b4589b60ea87.tar.gz chromium_src-1152b7ea95609ce835bdb9ab4454b4589b60ea87.tar.bz2 |
Send Breakpad and debugger status to the metrics service on the Mac.
BUG=21731
TEST=Metrics data should have the correct values for breakpadregistrationok,
breakpadregistrationfail, debuggerpresent, and debuggernotpresent in
log.profile.stability.
Review URL: http://codereview.chromium.org/203050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26093 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index fa591d1..c20c7a3 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "build/build_config.h" +#include "chrome/browser/browser_main.h" #include <algorithm> @@ -125,25 +125,6 @@ #include "chrome/browser/chromeos/external_cookie_handler.h" #endif -namespace Platform { - -void WillInitializeMainMessageLoop(const MainFunctionParams& parameters); -void WillTerminate(); - -#if defined(OS_WIN) || defined(OS_LINUX) -// Perform any platform-specific work that needs to be done before the main -// message loop is created and initialized. -void WillInitializeMainMessageLoop(const MainFunctionParams& parameters) { -} - -// Perform platform-specific work that needs to be done after the main event -// loop has ended. -void WillTerminate() { -} -#endif - -} // namespace Platform - namespace { // This function provides some ways to test crash and assertion handling @@ -817,7 +798,7 @@ int BrowserMain(const MainFunctionParams& parameters) { #endif HandleErrorTestParameters(parsed_command_line); - RecordBreakpadStatusUMA(metrics); + Platform::RecordBreakpadStatusUMA(metrics); // Start up the extensions service. This should happen before Start(). profile->InitExtensions(); // Start up the web resource service. This starts loading data after a |