Chromium Code Reviews| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
| index 50c5e9634a4ca771eaa618a099db9890852060ef..8e1196fad38dd5ea74f540f5badc65a5c7d9874f 100644 |
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc |
| @@ -21,7 +21,6 @@ using base::TimeDelta; |
| namespace { |
| -const char kChromeProxyHeader[] = "chrome-proxy"; |
| const char kActionValueDelimiter = '='; |
| const char kChromeProxyActionBlockOnce[] = "block-once"; |
| @@ -49,6 +48,10 @@ base::TimeDelta GetDefaultBypassDuration() { |
| namespace data_reduction_proxy { |
| +const char kChromeProxyHeader[] = "chrome-proxy"; |
|
bengr
2015/05/15 21:23:21
I would expose methods to get these string constan
megjablon
2015/05/15 22:25:28
Done.
|
| + |
| +const char kChromeProxyLoFiDirective[] = "q=low"; |
| + |
| bool GetDataReductionProxyActionValue( |
| const net::HttpResponseHeaders* headers, |
| const std::string& action_prefix, |