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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 // present on the current platform. | 206 // present on the current platform. |
207 void WarnAboutMinimumSystemRequirements(); | 207 void WarnAboutMinimumSystemRequirements(); |
208 | 208 |
209 // Displays a warning message that we can't find any locale data files. | 209 // Displays a warning message that we can't find any locale data files. |
210 void ShowMissingLocaleMessageBox(); | 210 void ShowMissingLocaleMessageBox(); |
211 | 211 |
212 // Records the time from our process' startup to the present time in | 212 // Records the time from our process' startup to the present time in |
213 // the UMA histogram |metric_name|. | 213 // the UMA histogram |metric_name|. |
214 void RecordBrowserStartupTime(); | 214 void RecordBrowserStartupTime(); |
215 | 215 |
| 216 // Records a time value to an UMA histogram in the context of the |
| 217 // PreReadExperiment field-trial. This also reports to the appropriate |
| 218 // sub-histogram (_PreRead(Enabled|Disabled)). |
| 219 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); |
| 220 |
216 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ | 221 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ |
OLD | NEW |