| Index: content/browser/geolocation/network_location_provider_unittest.cc
|
| diff --git a/content/browser/geolocation/network_location_provider_unittest.cc b/content/browser/geolocation/network_location_provider_unittest.cc
|
| index 2e8bb4f3f7c5d8a1aaa09abdda673783f7a1f70a..f1171d2908fde5f4764932e24cb5d4e755c32fd6 100644
|
| --- a/content/browser/geolocation/network_location_provider_unittest.cc
|
| +++ b/content/browser/geolocation/network_location_provider_unittest.cc
|
| @@ -14,6 +14,7 @@
|
| #include "content/browser/geolocation/location_arbitrator_impl.h"
|
| #include "content/browser/geolocation/network_location_provider.h"
|
| #include "content/browser/geolocation/wifi_data_provider.h"
|
| +#include "net/base/net_errors.h"
|
| #include "net/url_request/test_url_fetcher_factory.h"
|
| #include "net/url_request/url_request_status.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -437,7 +438,7 @@ TEST_F(GeolocationNetworkProviderTest, MultipleWifiScansComplete) {
|
| // ...reply with a network error.
|
|
|
| fetcher->set_url(test_server_url_);
|
| - fetcher->set_status(net::URLRequestStatus(net::URLRequestStatus::FAILED, -1));
|
| + fetcher->set_status(net::URLRequestStatus::FromError(net::ERR_FAILED));
|
| fetcher->set_response_code(200); // should be ignored
|
| fetcher->SetResponseString(std::string());
|
| fetcher->delegate()->OnURLFetchComplete(fetcher);
|
|
|