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

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

Issue 7610009: If no locale data files can be found, show a dialog and exit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: error Created 9 years, 4 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') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Records the conditions that can prevent Breakpad from generating and 194 // Records the conditions that can prevent Breakpad from generating and
195 // sending crash reports. The presence of a Breakpad handler (after 195 // sending crash reports. The presence of a Breakpad handler (after
196 // attempting to initialize crash reporting) and the presence of a debugger 196 // attempting to initialize crash reporting) and the presence of a debugger
197 // are registered with the UMA metrics service. 197 // are registered with the UMA metrics service.
198 void RecordBreakpadStatusUMA(MetricsService* metrics); 198 void RecordBreakpadStatusUMA(MetricsService* metrics);
199 199
200 // Displays a warning message if some minimum level of OS support is not 200 // Displays a warning message if some minimum level of OS support is not
201 // present on the current platform. 201 // present on the current platform.
202 void WarnAboutMinimumSystemRequirements(); 202 void WarnAboutMinimumSystemRequirements();
203 203
204 // Displays a warning message that we can't find any locale data files.
205 void ShowMissingLocaleMessageBox(const char* message, const char* title);
eroman 2011/08/11 02:17:17 nit: might want to specify that the expected encod
tony 2011/08/12 17:03:11 I moved the strings to constants in browser_main.h
206
204 // Records the time from our process' startup to the present time in 207 // Records the time from our process' startup to the present time in
205 // the UMA histogram |metric_name|. 208 // the UMA histogram |metric_name|.
206 void RecordBrowserStartupTime(); 209 void RecordBrowserStartupTime();
207 210
208 // Records a Startup category value to an UMA histogram in the context of the 211 // Records a Startup category value to an UMA histogram in the context of the
209 // PreReadExperiment field-trial. This will also report to the appropriate 212 // PreReadExperiment field-trial. This will also report to the appropriate
210 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate. 213 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate.
211 // This is only called from OS_WIN specific code, so the implementation is 214 // This is only called from OS_WIN specific code, so the implementation is
212 // in browser_main_win.cc. This is a Windows specific experiment. 215 // in browser_main_win.cc. This is a Windows specific experiment.
213 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); 216 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time);
214 217
215 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ 218 #endif // CHROME_BROWSER_BROWSER_MAIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698