| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void PredictorFieldTrial(); | 118 void PredictorFieldTrial(); |
| 119 | 119 |
| 120 // Field trial to see what effect installing defaults in the NTP apps pane | 120 // Field trial to see what effect installing defaults in the NTP apps pane |
| 121 // has on retention and general apps/webstore usage. | 121 // has on retention and general apps/webstore usage. |
| 122 void DefaultAppsFieldTrial(); | 122 void DefaultAppsFieldTrial(); |
| 123 | 123 |
| 124 // A field trial to see what effects launching Chrome automatically on | 124 // A field trial to see what effects launching Chrome automatically on |
| 125 // computer startup has on retention and usage of Chrome. | 125 // computer startup has on retention and usage of Chrome. |
| 126 void AutoLaunchChromeFieldTrial(); | 126 void AutoLaunchChromeFieldTrial(); |
| 127 | 127 |
| 128 // A field trial to test the viability of a DNS based, certificate revocation |
| 129 // system. |
| 130 void ComodoDNSExperimentFieldTrial(); |
| 131 |
| 128 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- | 132 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- |
| 129 | 133 |
| 130 // Constructs metrics service and does related initialization, including | 134 // Constructs metrics service and does related initialization, including |
| 131 // creation of field trials. Call only after labs have been converted to | 135 // creation of field trials. Call only after labs have been converted to |
| 132 // switches. | 136 // switches. |
| 133 void SetupMetricsAndFieldTrials(); | 137 void SetupMetricsAndFieldTrials(); |
| 134 | 138 |
| 135 // Add an invocation of your field trial init function to this method. | 139 // Add an invocation of your field trial init function to this method. |
| 136 void SetupFieldTrials(bool metrics_recording_enabled, | 140 void SetupFieldTrials(bool metrics_recording_enabled, |
| 137 bool proxy_policy_is_set); | 141 bool proxy_policy_is_set); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 // Records the time from our process' startup to the present time in | 227 // Records the time from our process' startup to the present time in |
| 224 // the UMA histogram |metric_name|. | 228 // the UMA histogram |metric_name|. |
| 225 void RecordBrowserStartupTime(); | 229 void RecordBrowserStartupTime(); |
| 226 | 230 |
| 227 // Records a time value to an UMA histogram in the context of the | 231 // Records a time value to an UMA histogram in the context of the |
| 228 // PreReadExperiment field-trial. This also reports to the appropriate | 232 // PreReadExperiment field-trial. This also reports to the appropriate |
| 229 // sub-histogram (_PreRead(Enabled|Disabled)). | 233 // sub-histogram (_PreRead(Enabled|Disabled)). |
| 230 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); | 234 void RecordPreReadExperimentTime(const char* name, base::TimeDelta time); |
| 231 | 235 |
| 232 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ | 236 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_H_ |
| OLD | NEW |