Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc |
index d9d6c5c894642c0c58f5ea0286369e8d72f6300e..2856e2167b0d0dcae9e5617a1d86dbda84e601db 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_interceptor.cc |
@@ -13,6 +13,7 @@ |
#include "net/url_request/url_request_context.h" |
#include "net/url_request/url_request_http_job.h" |
#include "net/url_request/url_request_job_factory.h" |
+#include "url/url_constants.h" |
namespace data_reduction_proxy { |
@@ -46,9 +47,9 @@ net::URLRequestJob* DataReductionProxyInterceptor::MaybeInterceptResponse( |
return nullptr; |
// Returning non-NULL has the effect of restarting the request with the |
// supplied job. |
- DCHECK(request->url().SchemeIs("http")); |
+ DCHECK(request->url().SchemeIs(url::kHttpScheme)); |
return request->context()->job_factory()->MaybeCreateJobWithProtocolHandler( |
- "http", request, network_delegate); |
+ url::kHttpScheme, request, network_delegate); |
} |
} // namespace data_reduction_proxy |