Home | History | Annotate | Download | only in common
      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 
      7 namespace data_reduction_proxy {
      8 namespace switches {
      9 
     10 // The origin of the data reduction proxy.
     11 const char kDataReductionProxy[]         = "spdy-proxy-auth-origin";
     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.
     21 const char kDataReductionProxyDev[]      = "spdy-proxy-dev-auth-origin";
     22 
     23 // The origin of the data reduction proxy fallback.
     24 const char kDataReductionProxyFallback[] = "spdy-proxy-auth-fallback";
     25 
     26 // A test key for data reduction proxy authentication.
     27 const 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.
     31 const 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.
     35 const char kDataReductionProxyWarmupURL[] = "data-reduction-proxy-warmup-url";
     36 
     37 // The origin of the data reduction SSL proxy.
     38 const char kDataReductionSSLProxy[] = "data-reduction-ssl-proxy";
     39 
     40 // Disables the origin of the data reduction proxy dev.
     41 const char kDisableDataReductionProxyDev[] =
     42     "disable-spdy-proxy-dev-auth-origin";
     43 
     44 // Enables the origin of the data reduction proxy dev.
     45 const char kEnableDataReductionProxyDev[] =
     46     "enable-spdy-proxy-dev-auth-origin";
     47 
     48 // Enable the data reduction proxy.
     49 const char kEnableDataReductionProxy[] = "enable-spdy-proxy-auth";
     50 
     51 // Enable the alternative data reduction proxy.
     52 const char kEnableDataReductionProxyAlt[] = "enable-data-reduction-proxy-alt";
     53 
     54 }  // namespace switches
     55 }  // namespace data_reduction_proxy
     56