OLD | NEW |
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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Records the time from our process' startup to the present time in | 204 // Records the time from our process' startup to the present time in |
205 // the UMA histogram |metric_name|. | 205 // the UMA histogram |metric_name|. |
206 void RecordBrowserStartupTime(); | 206 void RecordBrowserStartupTime(); |
207 | 207 |
| 208 // 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 |
| 210 // Startup.HistogramName_PreRead(Enabled|Disabled) histogram as appropriate. |
| 211 // 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. |
| 213 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); |
| 214 |
208 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ | 215 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ |
OLD | NEW |