Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc |
index 2d09e7441801c932d6b019368f1c0ba202bf6bd9..c0c01ca581cbbd0006d680d6053a45e4db82ec43 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.cc |
@@ -26,6 +26,7 @@ |
#include "components/data_reduction_proxy/proto/client_config.pb.h" |
#include "net/base/host_port_pair.h" |
#include "net/base/load_flags.h" |
+#include "net/base/net_errors.h" |
#include "net/base/url_util.h" |
#include "net/http/http_response_headers.h" |
#include "net/http/http_status_code.h" |
@@ -301,7 +302,7 @@ void DataReductionProxyConfigServiceClient::RetrieveRemoteConfig() { |
GetURLFetcherForConfig(config_service_url_, serialized_request); |
if (!fetcher.get()) { |
HandleResponse(std::string(), |
- net::URLRequestStatus(net::URLRequestStatus::CANCELED, 0), |
+ net::URLRequestStatus::FromError(net::ERR_ABORTED), |
net::URLFetcher::RESPONSE_CODE_INVALID); |
return; |
} |