summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc23
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