| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc
|
| index 17b3f803837bc9e666725c940dcc76dcf90b4730..3f7bb107c3713685a2eea6fd29c84a1297bd2ec6 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc
|
| @@ -29,7 +29,7 @@ bool SetProxyServerFromGURL(const GURL& gurl,
|
| DCHECK(proxy_server);
|
| if (!gurl.SchemeIsHTTPOrHTTPS())
|
| return false;
|
| - *proxy_server = net::ProxyServer(gurl.SchemeIs("http") ?
|
| + *proxy_server = net::ProxyServer(gurl.SchemeIs(url::kHttpScheme) ?
|
| net::ProxyServer::SCHEME_HTTP :
|
| net::ProxyServer::SCHEME_HTTPS,
|
| net::HostPortPair::FromURL(gurl));
|
| @@ -170,7 +170,7 @@ bool IsRequestIdempotent(const net::URLRequest* request) {
|
|
|
| void MarkProxiesAsBadUntil(
|
| net::URLRequest* request,
|
| - base::TimeDelta& bypass_duration,
|
| + const base::TimeDelta& bypass_duration,
|
| bool bypass_all,
|
| const std::pair<GURL, GURL>& data_reduction_proxies) {
|
| DCHECK(!data_reduction_proxies.first.is_empty());
|
|
|