| OLD | NEW |
| 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/browser_main.h" | 5 #include "chrome/browser/browser_main.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/debug_util.h" | 8 #include "base/debug_util.h" |
| 9 #include "chrome/browser/browser_main_win.h" | 9 #include "chrome/browser/browser_main_win.h" |
| 10 #include "chrome/browser/metrics/metrics_service.h" | 10 #include "chrome/browser/metrics/metrics_service.h" |
| 11 #include "chrome/common/result_codes.h" | 11 #include "chrome/common/result_codes.h" |
| 12 | 12 |
| 13 #if defined(USE_LINUX_BREAKPAD) | 13 #if defined(USE_LINUX_BREAKPAD) |
| 14 #include "chrome/app/breakpad_linux.h" | 14 #include "chrome/app/breakpad_linux.h" |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 void WillInitializeMainMessageLoop(const MainFunctionParams& parameters) { | |
| 18 } | |
| 19 | |
| 20 void DidEndMainMessageLoop() { | 17 void DidEndMainMessageLoop() { |
| 21 } | 18 } |
| 22 | 19 |
| 23 void RecordBreakpadStatusUMA(MetricsService* metrics) { | 20 void RecordBreakpadStatusUMA(MetricsService* metrics) { |
| 24 #if defined(USE_LINUX_BREAKPAD) | 21 #if defined(USE_LINUX_BREAKPAD) |
| 25 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled()); | 22 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled()); |
| 26 #else | 23 #else |
| 27 metrics->RecordBreakpadRegistration(false); | 24 metrics->RecordBreakpadRegistration(false); |
| 28 #endif | 25 #endif |
| 29 metrics->RecordBreakpadHasDebugger(DebugUtil::BeingDebugged()); | 26 metrics->RecordBreakpadHasDebugger(DebugUtil::BeingDebugged()); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 42 int HandleIconsCommands(const CommandLine &parsed_command_line) { | 39 int HandleIconsCommands(const CommandLine &parsed_command_line) { |
| 43 return 0; | 40 return 0; |
| 44 } | 41 } |
| 45 | 42 |
| 46 bool CheckMachineLevelInstall() { | 43 bool CheckMachineLevelInstall() { |
| 47 return false; | 44 return false; |
| 48 } | 45 } |
| 49 | 46 |
| 50 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) { | 47 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) { |
| 51 } | 48 } |
| OLD | NEW |