OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // A/B test for the maximum number of connections per proxy server. | 122 // A/B test for the maximum number of connections per proxy server. |
123 void ProxyConnectionsFieldTrial(); | 123 void ProxyConnectionsFieldTrial(); |
124 | 124 |
125 // A/B test for spdy when --use-spdy not set. | 125 // A/B test for spdy when --use-spdy not set. |
126 void SpdyFieldTrial(); | 126 void SpdyFieldTrial(); |
127 | 127 |
128 // A/B test for automatically establishing a backup TCP connection when a | 128 // A/B test for automatically establishing a backup TCP connection when a |
129 // specified timeout value is reached. | 129 // specified timeout value is reached. |
130 void ConnectBackupJobsFieldTrial(); | 130 void ConnectBackupJobsFieldTrial(); |
131 | 131 |
| 132 // A/B test for disabling revocation checking for sites with pinned |
| 133 // certificates. |
| 134 void RevocationCheckingDisabledFieldTrial(); |
| 135 |
132 // Used to initialize NSPR where appropriate. | 136 // Used to initialize NSPR where appropriate. |
133 virtual void InitializeSSL() = 0; | 137 virtual void InitializeSSL() = 0; |
134 | 138 |
135 // Methods for |MainMessageLoopStart()| -------------------------------------- | 139 // Methods for |MainMessageLoopStart()| -------------------------------------- |
136 | 140 |
137 void InitializeMainThread(); | 141 void InitializeMainThread(); |
138 | 142 |
139 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- | 143 // Methods for |SetupMetricsAndFieldTrials()| -------------------------------- |
140 | 144 |
141 static MetricsService* InitializeMetrics( | 145 static MetricsService* InitializeMetrics( |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 191 |
188 // Displays a warning message if some minimum level of OS support is not | 192 // Displays a warning message if some minimum level of OS support is not |
189 // present on the current platform. | 193 // present on the current platform. |
190 void WarnAboutMinimumSystemRequirements(); | 194 void WarnAboutMinimumSystemRequirements(); |
191 | 195 |
192 // Records the time from our process' startup to the present time in | 196 // Records the time from our process' startup to the present time in |
193 // the UMA histogram |metric_name|. | 197 // the UMA histogram |metric_name|. |
194 void RecordBrowserStartupTime(); | 198 void RecordBrowserStartupTime(); |
195 | 199 |
196 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ | 200 #endif // CHROME_BROWSER_BROWSER_MAIN_H_ |
OLD | NEW |