Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: chrome/browser/browser_main_gtk.cc

Issue 2931007: BrowserMain() refactoring, part 2. (Closed)
Patch Set: Updated per brettw and merged ToT. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/browser_main_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/browser_main_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698