Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Side by Side Diff: components/data_reduction_proxy/common/data_reduction_proxy_switches.cc

Issue 286013002: Added alternative configuration for the data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK fix Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/data_reduction_proxy/common/data_reduction_proxy_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
13 // The origin of the data reduction proxy dev. 20 // The origin of the data reduction proxy dev.
14 const char kDataReductionProxyDev[] = "spdy-proxy-dev-auth-origin"; 21 const char kDataReductionProxyDev[] = "spdy-proxy-dev-auth-origin";
15 22
16 // The origin of the data reduction proxy fallback. 23 // The origin of the data reduction proxy fallback.
17 const char kDataReductionProxyFallback[] = "spdy-proxy-auth-fallback"; 24 const char kDataReductionProxyFallback[] = "spdy-proxy-auth-fallback";
18 25
19 // A test key for data reduction proxy authentication. 26 // A test key for data reduction proxy authentication.
20 const char kDataReductionProxyKey[] = "spdy-proxy-auth-value"; 27 const char kDataReductionProxyKey[] = "spdy-proxy-auth-value";
21 28
22 // 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
23 // 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.
24 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url"; 31 const char kDataReductionProxyProbeURL[] = "data-reduction-proxy-probe-url";
25 32
33 // The origin of the data reduction SSL proxy.
34 const char kDataReductionSSLProxy[] = "data-reduction-ssl-proxy";
35
26 // Enable the data reduction proxy. 36 // Enable the data reduction proxy.
27 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth"; 37 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth";
28 38
39 // Enable the alternative data reduction proxy.
40 const char kEnableDataReductionProxyAlt[] = "enable-data-reduction-proxy-alt";
41
29 } // namespace switches 42 } // namespace switches
30 } // namespace data_reduction_proxy 43 } // namespace data_reduction_proxy
OLDNEW
« no previous file with comments | « components/data_reduction_proxy/common/data_reduction_proxy_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698