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