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
3 // found in the LICENSE file.
5 #include "components/data_reduction_proxy/common/data_reduction_proxy_switches.h"
7 namespace data_reduction_proxy
{
10 // The origin of the data reduction proxy.
11 const char kDataReductionProxy
[] = "spdy-proxy-auth-origin";
13 // The origin of an alternative data reduction proxy.
14 const char kDataReductionProxyAlt
[] = "data-reduction-proxy-alternative";
16 // The origin of an alternative data reduction proxy fallback.
17 const char kDataReductionProxyAltFallback
[] =
18 "data-reduction-proxy-alternative-fallback";
20 // The origin of the data reduction proxy dev.
21 const char kDataReductionProxyDev
[] = "spdy-proxy-dev-auth-origin";
23 // The origin of the data reduction proxy fallback.
24 const char kDataReductionProxyFallback
[] = "spdy-proxy-auth-fallback";
26 // A test key for data reduction proxy authentication.
27 const char kDataReductionProxyKey
[] = "spdy-proxy-auth-value";
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.
31 const char kDataReductionProxyProbeURL
[] = "data-reduction-proxy-probe-url";
33 // Sets a URL to fetch to warm up the data reduction proxy on startup and
35 const char kDataReductionProxyWarmupURL
[] = "data-reduction-proxy-warmup-url";
37 // The origin of the data reduction SSL proxy.
38 const char kDataReductionSSLProxy
[] = "data-reduction-ssl-proxy";
40 // Disables the origin of the data reduction proxy dev.
41 const char kDisableDataReductionProxyDev
[] =
42 "disable-spdy-proxy-dev-auth-origin";
44 // Enables the origin of the data reduction proxy dev.
45 const char kEnableDataReductionProxyDev
[] =
46 "enable-spdy-proxy-dev-auth-origin";
48 // Enable the data reduction proxy.
49 const char kEnableDataReductionProxy
[] = "enable-spdy-proxy-auth";
51 // Enable the alternative data reduction proxy.
52 const char kEnableDataReductionProxyAlt
[] = "enable-data-reduction-proxy-alt";
54 } // namespace switches
55 } // namespace data_reduction_proxy