| Index: google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| diff --git a/google_apis/gaia/gaia_auth_fetcher_unittest.cc b/google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| index 28e5aff83c67ab77b85d6886165681c956b52c87..042decdd46a9dbf9e74f36263c462191f7dd0e1b 100644
|
| --- a/google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| +++ b/google_apis/gaia/gaia_auth_fetcher_unittest.cc
|
| @@ -53,17 +53,16 @@ MockFetcher::MockFetcher(bool success,
|
| net::URLFetcherDelegate* d)
|
| : TestURLFetcher(0, url, d) {
|
| set_url(url);
|
| - net::URLRequestStatus::Status code;
|
| + net::Error error;
|
|
|
| if (success) {
|
| + error = net::OK;
|
| set_response_code(net::HTTP_OK);
|
| - code = net::URLRequestStatus::SUCCESS;
|
| } else {
|
| - set_response_code(net::HTTP_FORBIDDEN);
|
| - code = net::URLRequestStatus::FAILED;
|
| + error = net::ERR_FAILED;
|
| }
|
|
|
| - set_status(net::URLRequestStatus(code, 0));
|
| + set_status(net::URLRequestStatus::FromError(error));
|
| SetResponseString(results);
|
| }
|
|
|
|
|