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/field_trial.h" | 10 #include "base/field_trial.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 // A/B test for the maximum number of connections per proxy server. | 110 // A/B test for the maximum number of connections per proxy server. |
111 void ProxyConnectionsFieldTrial(); | 111 void ProxyConnectionsFieldTrial(); |
112 | 112 |
113 // A/B test for spdy when --use-spdy not set. | 113 // A/B test for spdy when --use-spdy not set. |
114 void SpdyFieldTrial(); | 114 void SpdyFieldTrial(); |
115 | 115 |
116 // A/B test for prefetching with --(enable|disable)-prefetch not set. | 116 // A/B test for prefetching with --(enable|disable)-prefetch not set. |
117 void PrefetchFieldTrial(); | 117 void PrefetchFieldTrial(); |
118 | 118 |
| 119 // A/B test for automatically establishing a backup TCP connection when a |
| 120 // specified timeout value is reached. |
| 121 void ConnectBackupJobsFieldTrial(); |
| 122 |
119 // Used to initialize NSPR where appropriate. | 123 // Used to initialize NSPR where appropriate. |
120 virtual void InitializeSSL() = 0; | 124 virtual void InitializeSSL() = 0; |
121 | 125 |
122 // Methods for |MainMessageLoopStart()| -------------------------------------- | 126 // Methods for |MainMessageLoopStart()| -------------------------------------- |
123 | 127 |
124 void InitializeMainThread(); | 128 void InitializeMainThread(); |
125 | 129 |
126 // Members initialized on construction --------------------------------------- | 130 // Members initialized on construction --------------------------------------- |
127 | 131 |
128 const MainFunctionParams& parameters_; | 132 const MainFunctionParams& parameters_; |
(...skipping 28 matching lines...) Expand all Loading... |
157 // sending crash reports. The presence of a Breakpad handler (after | 161 // sending crash reports. The presence of a Breakpad handler (after |
158 // attempting to initialize crash reporting) and the presence of a debugger | 162 // attempting to initialize crash reporting) and the presence of a debugger |
159 // are registered with the UMA metrics service. | 163 // are registered with the UMA metrics service. |
160 void RecordBreakpadStatusUMA(MetricsService* metrics); | 164 void RecordBreakpadStatusUMA(MetricsService* metrics); |
161 | 165 |
162 // Displays a warning message if some minimum level of OS support is not | 166 // Displays a warning message if some minimum level of OS support is not |
163 // present on the current platform. | 167 // present on the current platform. |
164 void WarnAboutMinimumSystemRequirements(); | 168 void WarnAboutMinimumSystemRequirements(); |
165 | 169 |
166 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ | 170 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ |
OLD | NEW |