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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.cc

Issue 12686006: Rename GoogleServiceAuthError::None() to AuthErrorNone() and LoginFailure::None() to LoginFailureNo… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/ui/webui/sync_setup_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index c99e369f8f42732409fda50e8158e84cdcc5338d..e935620724392371aac93705c7d7fd41bcfa8523 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -838,7 +838,7 @@ void SyncSetupHandler::TryLogin(const std::string& username,
// User is trying to log in again so reset the cached error.
GoogleServiceAuthError current_error = last_signin_error_;
- last_signin_error_ = GoogleServiceAuthError::None();
+ last_signin_error_ = GoogleServiceAuthError::AuthErrorNone();
SigninManager* signin = GetSignin();
@@ -1131,7 +1131,7 @@ void SyncSetupHandler::CloseSyncSetup() {
// overlay in the settings page will stay in whatever error state it was last
// when it is reopened.
last_attempted_user_email_.clear();
- last_signin_error_ = GoogleServiceAuthError::None();
+ last_signin_error_ = GoogleServiceAuthError::AuthErrorNone();
configuring_sync_ = false;
signin_tracker_.reset();
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/ui/webui/sync_setup_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698