| Index: components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| index 7143f7c209f51362a20bf16032c80bfe5367839b..a0066182424b3a6dc65a715e9308d674cc6cf236 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_metrics.cc
|
| @@ -296,7 +296,8 @@ class DailyDataSavingUpdate {
|
| // shortest delay.
|
| bool IsBypassRequest(const net::URLRequest* request, int64* delay_seconds) {
|
| // TODO(bengr): Add support for other data reduction proxy configurations.
|
| -#if defined(SPDY_PROXY_AUTH_ORIGIN)
|
| + // TODO(kundaji): Reuse params associated with profile instead of creating a
|
| + // new one here.
|
| DataReductionProxyParams params(
|
| DataReductionProxyParams::kAllowed |
|
| DataReductionProxyParams::kFallbackAllowed |
|
| @@ -335,9 +336,6 @@ bool IsBypassRequest(const net::URLRequest* request, int64* delay_seconds) {
|
| if (delay_seconds != NULL)
|
| *delay_seconds = shortest_delay;
|
| return true;
|
| -#else
|
| - return false;
|
| -#endif
|
| }
|
|
|
| } // namespace
|
|
|