| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 // A/B test for determining a value for unused socket timeout. | 112 // A/B test for determining a value for unused socket timeout. |
| 113 void SocketTimeoutFieldTrial(); | 113 void SocketTimeoutFieldTrial(); |
| 114 | 114 |
| 115 // A/B test for the maximum number of connections per proxy server. | 115 // A/B test for the maximum number of connections per proxy server. |
| 116 void ProxyConnectionsFieldTrial(); | 116 void ProxyConnectionsFieldTrial(); |
| 117 | 117 |
| 118 // A/B test for spdy when --use-spdy not set. | 118 // A/B test for spdy when --use-spdy not set. |
| 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 void PrefetchFieldTrial(); | 122 // some histograms tracking prerender sessions. |
| 123 void PrefetchAndPrerenderFieldTrial(); |
| 123 | 124 |
| 124 // 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 |
| 125 // specified timeout value is reached. | 126 // specified timeout value is reached. |
| 126 void ConnectBackupJobsFieldTrial(); | 127 void ConnectBackupJobsFieldTrial(); |
| 127 | 128 |
| 128 // Used to initialize NSPR where appropriate. | 129 // Used to initialize NSPR where appropriate. |
| 129 virtual void InitializeSSL() = 0; | 130 virtual void InitializeSSL() = 0; |
| 130 | 131 |
| 131 // Methods for |MainMessageLoopStart()| -------------------------------------- | 132 // Methods for |MainMessageLoopStart()| -------------------------------------- |
| 132 | 133 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // sending crash reports. The presence of a Breakpad handler (after | 167 // sending crash reports. The presence of a Breakpad handler (after |
| 167 // attempting to initialize crash reporting) and the presence of a debugger | 168 // attempting to initialize crash reporting) and the presence of a debugger |
| 168 // are registered with the UMA metrics service. | 169 // are registered with the UMA metrics service. |
| 169 void RecordBreakpadStatusUMA(MetricsService* metrics); | 170 void RecordBreakpadStatusUMA(MetricsService* metrics); |
| 170 | 171 |
| 171 // Displays a warning message if some minimum level of OS support is not | 172 // Displays a warning message if some minimum level of OS support is not |
| 172 // present on the current platform. | 173 // present on the current platform. |
| 173 void WarnAboutMinimumSystemRequirements(); | 174 void WarnAboutMinimumSystemRequirements(); |
| 174 | 175 |
| 175 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ | 176 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ |
| OLD | NEW |