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

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

Issue 6354023: Added a function to BrowserMainParts that is called after about_flags has con... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/browser_main.cc » ('j') | chrome/browser/browser_main.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // instantiate the appropriate subclass. 73 // instantiate the appropriate subclass.
74 static BrowserMainParts* CreateBrowserMainParts( 74 static BrowserMainParts* CreateBrowserMainParts(
75 const MainFunctionParams& parameters); 75 const MainFunctionParams& parameters);
76 76
77 virtual ~BrowserMainParts(); 77 virtual ~BrowserMainParts();
78 78
79 // Parts to be called by |BrowserMain()|. 79 // Parts to be called by |BrowserMain()|.
80 void EarlyInitialization(); 80 void EarlyInitialization();
81 void MainMessageLoopStart(); 81 void MainMessageLoopStart();
82 82
83 void PostAboutFlagsConvertedToSwitches();
84
83 protected: 85 protected:
84 explicit BrowserMainParts(const MainFunctionParams& parameters); 86 explicit BrowserMainParts(const MainFunctionParams& parameters);
85 87
86 // Accessors for data members (below) ---------------------------------------- 88 // Accessors for data members (below) ----------------------------------------
87 const MainFunctionParams& parameters() const { 89 const MainFunctionParams& parameters() const {
88 return parameters_; 90 return parameters_;
89 } 91 }
90 const CommandLine& parsed_command_line() const { 92 const CommandLine& parsed_command_line() const {
91 return parsed_command_line_; 93 return parsed_command_line_;
92 } 94 }
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // sending crash reports. The presence of a Breakpad handler (after 166 // sending crash reports. The presence of a Breakpad handler (after
165 // attempting to initialize crash reporting) and the presence of a debugger 167 // attempting to initialize crash reporting) and the presence of a debugger
166 // are registered with the UMA metrics service. 168 // are registered with the UMA metrics service.
167 void RecordBreakpadStatusUMA(MetricsService* metrics); 169 void RecordBreakpadStatusUMA(MetricsService* metrics);
168 170
169 // Displays a warning message if some minimum level of OS support is not 171 // Displays a warning message if some minimum level of OS support is not
170 // present on the current platform. 172 // present on the current platform.
171 void WarnAboutMinimumSystemRequirements(); 173 void WarnAboutMinimumSystemRequirements();
172 174
173 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ 175 #endif // CHROME_BROWSER_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_main.cc » ('j') | chrome/browser/browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698