| Index: google_apis/gaia/gaia_oauth_client_unittest.cc
|
| diff --git a/google_apis/gaia/gaia_oauth_client_unittest.cc b/google_apis/gaia/gaia_oauth_client_unittest.cc
|
| index 18bda59e297ea9956a37628347d498229dd6b1be..ee9f17aa51929d3f5b6d9ec0187aa7d154b7b050 100644
|
| --- a/google_apis/gaia/gaia_oauth_client_unittest.cc
|
| +++ b/google_apis/gaia/gaia_oauth_client_unittest.cc
|
| @@ -56,12 +56,12 @@ class MockOAuthFetcher : public net::TestURLFetcher {
|
| set_response_code(net::HTTP_OK);
|
| }
|
|
|
| - net::URLRequestStatus::Status code = net::URLRequestStatus::SUCCESS;
|
| + net::Error error = net::OK;
|
| if (GetResponseCode() != net::HTTP_OK) {
|
| - code = net::URLRequestStatus::FAILED;
|
| + error = net::ERR_FAILED;
|
| current_failure_count_++;
|
| }
|
| - set_status(net::URLRequestStatus(code, 0));
|
| + set_status(net::URLRequestStatus::FromError(error));
|
|
|
| if (complete_immediately_)
|
| delegate()->OnURLFetchComplete(this);
|
|
|