Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: chrome/common/net/gaia/gaia_auth_fetcher.cc

Issue 7846007: net: Rename URLRequestStatus::os_error_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix os_error_code Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/gaia/gaia_auth_fetcher.cc
diff --git a/chrome/common/net/gaia/gaia_auth_fetcher.cc b/chrome/common/net/gaia/gaia_auth_fetcher.cc
index 65318ffb5bc2da83e08711b2f0e79da32e48c950..c8edd96d1055d4f1e22084d36aefa82bcd712da0 100644
--- a/chrome/common/net/gaia/gaia_auth_fetcher.cc
+++ b/chrome/common/net/gaia/gaia_auth_fetcher.cc
@@ -8,9 +8,9 @@
#include <utility>
#include <vector>
-#include "base/stringprintf.h"
#include "base/string_split.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "chrome/common/net/gaia/gaia_auth_consumer.h"
#include "chrome/common/net/gaia/gaia_constants.h"
#include "chrome/common/net/gaia/gaia_urls.h"
@@ -408,8 +408,8 @@ GoogleServiceAuthError GaiaAuthFetcher::GenerateAuthError(
return GoogleServiceAuthError(GoogleServiceAuthError::REQUEST_CANCELED);
} else {
LOG(WARNING) << "Could not reach Google Accounts servers: errno "
- << status.os_error();
- return GoogleServiceAuthError::FromConnectionError(status.os_error());
+ << status.error();
+ return GoogleServiceAuthError::FromConnectionError(status.error());
}
} else {
if (IsSecondFactorSuccess(data)) {
@@ -461,8 +461,8 @@ GoogleServiceAuthError GaiaAuthFetcher::GenerateOAuthLoginError(
return GoogleServiceAuthError(GoogleServiceAuthError::REQUEST_CANCELED);
} else {
LOG(WARNING) << "Could not reach Google Accounts servers: errno "
- << status.os_error();
- return GoogleServiceAuthError::FromConnectionError(status.os_error());
+ << status.error();
+ return GoogleServiceAuthError::FromConnectionError(status.error());
}
} else {
if (IsSecondFactorSuccess(data)) {
« no previous file with comments | « chrome/browser/sync/test/test_http_bridge_factory.cc ('k') | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698