OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "components/data_reduction_proxy/common/data_reduction_proxy_switches.h
" | 5 #include "components/data_reduction_proxy/common/data_reduction_proxy_switches.h
" |
6 | 6 |
7 namespace data_reduction_proxy { | 7 namespace data_reduction_proxy { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The origin of the data reduction proxy. | 10 // The origin of the data reduction proxy. |
(...skipping 12 matching lines...) Expand all Loading... |
23 // The origin of the data reduction proxy fallback. | 23 // The origin of the data reduction proxy fallback. |
24 const char kDataReductionProxyFallback[] = "spdy-proxy-auth-fallback"; | 24 const char kDataReductionProxyFallback[] = "spdy-proxy-auth-fallback"; |
25 | 25 |
26 // A test key for data reduction proxy authentication. | 26 // A test key for data reduction proxy authentication. |
27 const char kDataReductionProxyKey[] = "spdy-proxy-auth-value"; | 27 const char kDataReductionProxyKey[] = "spdy-proxy-auth-value"; |
28 | 28 |
29 // Sets a canary URL to test before committing to using the data reduction | 29 // Sets a canary URL to test before committing to using the data reduction |
30 // proxy. Note this canary does not go through the data reduction proxy. | 30 // proxy. Note this canary does not go through the data reduction proxy. |
31 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url"; | 31 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url"; |
32 | 32 |
| 33 // Sets a URL to fetch to warm up the data reduction proxy on startup and |
| 34 // network changes. |
| 35 const char kDataReductionProxyWarmupURL[] = "data-reduction-proxy-warmup-url"; |
| 36 |
33 // The origin of the data reduction SSL proxy. | 37 // The origin of the data reduction SSL proxy. |
34 const char kDataReductionSSLProxy[] = "data-reduction-ssl-proxy"; | 38 const char kDataReductionSSLProxy[] = "data-reduction-ssl-proxy"; |
35 | 39 |
36 // Disables the origin of the data reduction proxy dev. | 40 // Disables the origin of the data reduction proxy dev. |
37 const char kDisableDataReductionProxyDev[] = | 41 const char kDisableDataReductionProxyDev[] = |
38 "disable-spdy-proxy-dev-auth-origin"; | 42 "disable-spdy-proxy-dev-auth-origin"; |
39 | 43 |
40 // Enables the origin of the data reduction proxy dev. | 44 // Enables the origin of the data reduction proxy dev. |
41 const char kEnableDataReductionProxyDev[] = | 45 const char kEnableDataReductionProxyDev[] = |
42 "enable-spdy-proxy-dev-auth-origin"; | 46 "enable-spdy-proxy-dev-auth-origin"; |
43 | 47 |
44 // Enable the data reduction proxy. | 48 // Enable the data reduction proxy. |
45 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth"; | 49 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth"; |
46 | 50 |
47 // Enable the alternative data reduction proxy. | 51 // Enable the alternative data reduction proxy. |
48 const char kEnableDataReductionProxyAlt[] = "enable-data-reduction-proxy-alt"; | 52 const char kEnableDataReductionProxyAlt[] = "enable-data-reduction-proxy-alt"; |
49 | 53 |
50 } // namespace switches | 54 } // namespace switches |
51 } // namespace data_reduction_proxy | 55 } // namespace data_reduction_proxy |
OLD | NEW |