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

Side by Side Diff: components/data_reduction_proxy/common/data_reduction_proxy_pref_names.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
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_pref_names .h" 5 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names .h"
6 6
7 namespace data_reduction_proxy { 7 namespace data_reduction_proxy {
8 namespace prefs { 8 namespace prefs {
9 9
10 // A List pref that contains daily totals of the size of all HTTPS 10 // A List pref that contains daily totals of the size of all HTTPS
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const char kDailyOriginalContentLengthWithDataReductionProxyEnabled[] = 65 const char kDailyOriginalContentLengthWithDataReductionProxyEnabled[] =
66 "data_reduction.daily_original_length_with_data_reduction_proxy_enabled"; 66 "data_reduction.daily_original_length_with_data_reduction_proxy_enabled";
67 67
68 // String that specifies the origin allowed to use data reduction proxy 68 // String that specifies the origin allowed to use data reduction proxy
69 // authentication, if any. 69 // authentication, if any.
70 const char kDataReductionProxy[] = "auth.spdyproxy.origin"; 70 const char kDataReductionProxy[] = "auth.spdyproxy.origin";
71 71
72 // A boolean specifying whether the data reduction proxy is enabled. 72 // A boolean specifying whether the data reduction proxy is enabled.
73 const char kDataReductionProxyEnabled[] = "spdy_proxy.enabled"; 73 const char kDataReductionProxyEnabled[] = "spdy_proxy.enabled";
74 74
75 // A boolean specifying whether the data reduction proxy alternative is enabled.
76 const char kDataReductionProxyAltEnabled[] = "data_reduction_alt.enabled";
77
75 // A boolean specifying whether the data reduction proxy was ever enabled 78 // A boolean specifying whether the data reduction proxy was ever enabled
76 // before. 79 // before.
77 const char kDataReductionProxyWasEnabledBefore[] = 80 const char kDataReductionProxyWasEnabledBefore[] =
78 "spdy_proxy.was_enabled_before"; 81 "spdy_proxy.was_enabled_before";
79 82
80 // An int64 pref that contains the total size of all HTTP content received from 83 // An int64 pref that contains the total size of all HTTP content received from
81 // the network. 84 // the network.
82 const char kHttpReceivedContentLength[] = "http_received_content_length"; 85 const char kHttpReceivedContentLength[] = "http_received_content_length";
83 86
84 // An int64 pref that contains the total original size of all HTTP content 87 // An int64 pref that contains the total original size of all HTTP content
85 // received over the network. 88 // received over the network.
86 const char kHttpOriginalContentLength[] = "http_original_content_length"; 89 const char kHttpOriginalContentLength[] = "http_original_content_length";
87 90
88 } // namespace prefs 91 } // namespace prefs
89 } // namespace data_reduction_proxy 92 } // namespace data_reduction_proxy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698