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

Side by Side Diff: chrome/browser/browser_main.h

Issue 201121: Chrome should shut down cleanly when quit from the Dock icon menu, during... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_BROWSER_MAIN_H_ 5 #ifndef CHROME_BROWSER_BROWSER_MAIN_H_
6 #define CHROME_BROWSER_BROWSER_MAIN_H_ 6 #define CHROME_BROWSER_BROWSER_MAIN_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 struct MainFunctionParams; 10 struct MainFunctionParams;
11 class MetricsService; 11 class MetricsService;
12 12
13 namespace Platform { 13 namespace Platform {
14 14
15 // Perform platform-specific work that needs to be done before the main 15 // Perform platform-specific work that needs to be done before the main
16 // message loop is created, initialized, and entered. 16 // message loop is created, initialized, and entered.
17 void WillInitializeMainMessageLoop(const MainFunctionParams& parameters); 17 void WillInitializeMainMessageLoop(const MainFunctionParams& parameters);
18 18
19 // Perform platform-specific work that needs to be done after the main event 19 // Perform platform-specific work that needs to be done after the main event
20 // loop has ended. 20 // loop has ended.
21 void WillTerminate(); 21 void DidEndMainMessageLoop();
22 22
23 // Records the conditions that can prevent Breakpad from generating and 23 // Records the conditions that can prevent Breakpad from generating and
24 // sending crash reports. The presence of a Breakpad handler (after 24 // sending crash reports. The presence of a Breakpad handler (after
25 // attempting to initialize crash reporting) and the presence of a debugger 25 // attempting to initialize crash reporting) and the presence of a debugger
26 // are registered with the UMA metrics service. 26 // are registered with the UMA metrics service.
27 void RecordBreakpadStatusUMA(MetricsService* metrics); 27 void RecordBreakpadStatusUMA(MetricsService* metrics);
28 28
29 } // namespace Platform 29 } // namespace Platform
30 30
31 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ 31 #endif // CHROME_BROWSER_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_list_mac.mm ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698