OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 void SpdyFieldTrial(); | 119 void SpdyFieldTrial(); |
120 | 120 |
121 // A/B test for prefetching with --(enable|disable)-prefetch not set, | 121 // A/B test for prefetching with --(enable|disable)-prefetch not set, |
122 // some histograms tracking prerender sessions. | 122 // some histograms tracking prerender sessions. |
123 void PrefetchAndPrerenderFieldTrial(); | 123 void PrefetchAndPrerenderFieldTrial(); |
124 | 124 |
125 // A/B test for automatically establishing a backup TCP connection when a | 125 // A/B test for automatically establishing a backup TCP connection when a |
126 // specified timeout value is reached. | 126 // specified timeout value is reached. |
127 void ConnectBackupJobsFieldTrial(); | 127 void ConnectBackupJobsFieldTrial(); |
128 | 128 |
| 129 // A/B test for SSL False Start. |
| 130 void SSLFalseStartFieldTrial(); |
| 131 |
129 // Used to initialize NSPR where appropriate. | 132 // Used to initialize NSPR where appropriate. |
130 virtual void InitializeSSL() = 0; | 133 virtual void InitializeSSL() = 0; |
131 | 134 |
132 // Methods for |MainMessageLoopStart()| -------------------------------------- | 135 // Methods for |MainMessageLoopStart()| -------------------------------------- |
133 | 136 |
134 void InitializeMainThread(); | 137 void InitializeMainThread(); |
135 | 138 |
136 // Members initialized on construction --------------------------------------- | 139 // Members initialized on construction --------------------------------------- |
137 | 140 |
138 const MainFunctionParams& parameters_; | 141 const MainFunctionParams& parameters_; |
(...skipping 28 matching lines...) Expand all Loading... |
167 // sending crash reports. The presence of a Breakpad handler (after | 170 // sending crash reports. The presence of a Breakpad handler (after |
168 // attempting to initialize crash reporting) and the presence of a debugger | 171 // attempting to initialize crash reporting) and the presence of a debugger |
169 // are registered with the UMA metrics service. | 172 // are registered with the UMA metrics service. |
170 void RecordBreakpadStatusUMA(MetricsService* metrics); | 173 void RecordBreakpadStatusUMA(MetricsService* metrics); |
171 | 174 |
172 // Displays a warning message if some minimum level of OS support is not | 175 // Displays a warning message if some minimum level of OS support is not |
173 // present on the current platform. | 176 // present on the current platform. |
174 void WarnAboutMinimumSystemRequirements(); | 177 void WarnAboutMinimumSystemRequirements(); |
175 | 178 |
176 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ | 179 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ |
OLD | NEW |