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. |
11 const char kDataReductionProxy[] = "spdy-proxy-auth-origin"; | 11 const char kDataReductionProxy[] = "spdy-proxy-auth-origin"; |
12 | 12 |
13 // The origin of an alternative data reduction proxy. | |
14 const char kDataReductionProxyAlt[] = "data-reduction-proxy-alternative"; | |
15 | |
16 // The origin of an alternative data reduction proxy fallback. | |
17 const char kDataReductionProxyAltFallback[] = | |
18 "data-reduction-proxy-alternative-fallback"; | |
19 | |
20 // The origin of the data reduction proxy dev. | 13 // The origin of the data reduction proxy dev. |
21 const char kDataReductionProxyDev[] = "spdy-proxy-dev-auth-origin"; | 14 const char kDataReductionProxyDev[] = "spdy-proxy-dev-auth-origin"; |
22 | 15 |
23 // The origin of the data reduction proxy fallback. | 16 // The origin of the data reduction proxy fallback. |
24 const char kDataReductionProxyFallback[] = "spdy-proxy-auth-fallback"; | 17 const char kDataReductionProxyFallback[] = "spdy-proxy-auth-fallback"; |
25 | 18 |
26 // A test key for data reduction proxy authentication. | 19 // A test key for data reduction proxy authentication. |
27 const char kDataReductionProxyKey[] = "spdy-proxy-auth-value"; | 20 const char kDataReductionProxyKey[] = "spdy-proxy-auth-value"; |
28 | 21 |
29 // Sets a canary URL to test before committing to using the data reduction | 22 // 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. | 23 // proxy. Note this canary does not go through the data reduction proxy. |
31 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url"; | 24 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url"; |
32 | 25 |
33 // The origin of the data reduction SSL proxy. | |
34 const char kDataReductionSSLProxy[] = "data-reduction-ssl-proxy"; | |
35 | |
36 // Enable the data reduction proxy. | 26 // Enable the data reduction proxy. |
37 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth"; | 27 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth"; |
38 | 28 |
39 // Enable the alternative data reduction proxy. | |
40 const char kEnableDataReductionProxyAlt[] = "enable-data-reduction-proxy-alt"; | |
41 | |
42 } // namespace switches | 29 } // namespace switches |
43 } // namespace data_reduction_proxy | 30 } // namespace data_reduction_proxy |
OLD | NEW |