OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROME_BROWSER_MAIN_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 6 #define CHROME_BROWSER_CHROME_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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 void PredictorFieldTrial(); | 122 void PredictorFieldTrial(); |
123 | 123 |
124 // Field trial to see what effect installing defaults in the NTP apps pane | 124 // Field trial to see what effect installing defaults in the NTP apps pane |
125 // has on retention and general apps/webstore usage. | 125 // has on retention and general apps/webstore usage. |
126 void DefaultAppsFieldTrial(); | 126 void DefaultAppsFieldTrial(); |
127 | 127 |
128 // A field trial to see what effects launching Chrome automatically on | 128 // A field trial to see what effects launching Chrome automatically on |
129 // computer startup has on retention and usage of Chrome. | 129 // computer startup has on retention and usage of Chrome. |
130 void AutoLaunchChromeFieldTrial(); | 130 void AutoLaunchChromeFieldTrial(); |
131 | 131 |
132 // Field trial for testing domain bound certs. | |
133 void DomainBoundCertsFieldTrial(); | |
134 | |
135 // A collection of field trials intended to test the uniformity and | 132 // A collection of field trials intended to test the uniformity and |
136 // correctness of the field trial control, bucketing and reporting systems. | 133 // correctness of the field trial control, bucketing and reporting systems. |
137 void SetupUniformityFieldTrials(); | 134 void SetupUniformityFieldTrials(); |
138 | 135 |
139 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- | 136 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- |
140 | 137 |
141 // Constructs metrics service and does related initialization, including | 138 // Constructs metrics service and does related initialization, including |
142 // creation of field trials. Call only after labs have been converted to | 139 // creation of field trials. Call only after labs have been converted to |
143 // switches. | 140 // switches. |
144 void SetupMetricsAndFieldTrials(); | 141 void SetupMetricsAndFieldTrials(); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // Records the time from our process' startup to the present time in | 236 // Records the time from our process' startup to the present time in |
240 // the UMA histogram |metric_name|. | 237 // the UMA histogram |metric_name|. |
241 void RecordBrowserStartupTime(); | 238 void RecordBrowserStartupTime(); |
242 | 239 |
243 // Records a time value to an UMA histogram in the context of the | 240 // Records a time value to an UMA histogram in the context of the |
244 // PreReadExperiment field-trial. This also reports to the appropriate | 241 // PreReadExperiment field-trial. This also reports to the appropriate |
245 // sub-histogram (_PreRead(Enabled|Disabled)). | 242 // sub-histogram (_PreRead(Enabled|Disabled)). |
246 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); | 243 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); |
247 | 244 |
248 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 245 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
OLD | NEW |