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

Unified Diff: chrome/browser/signin/signin_global_error.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
Index: chrome/browser/signin/signin_global_error.cc
diff --git a/chrome/browser/signin/signin_global_error.cc b/chrome/browser/signin/signin_global_error.cc
index 8ef52877a9cdc376446d9ac17b33d3f4fa6e6ed7..5cde11546536f9aa0ed307f50c33e06ddb720a0a 100644
--- a/chrome/browser/signin/signin_global_error.cc
+++ b/chrome/browser/signin/signin_global_error.cc
@@ -19,7 +19,7 @@
#include "ui/base/l10n/l10n_util.h"
SigninGlobalError::SigninGlobalError(SigninManager* manager, Profile* profile)
- : auth_error_(GoogleServiceAuthError::None()),
+ : auth_error_(GoogleServiceAuthError::AuthErrorNone()),
signin_manager_(manager),
profile_(profile) {
}
@@ -54,7 +54,7 @@ SigninGlobalError::AuthStatusProvider::~AuthStatusProvider() {
void SigninGlobalError::AuthStatusChanged() {
// Walk all of the status providers and collect any error.
- GoogleServiceAuthError current_error(GoogleServiceAuthError::None());
+ GoogleServiceAuthError current_error(GoogleServiceAuthError::AuthErrorNone());
for (std::set<const AuthStatusProvider*>::const_iterator it =
provider_set_.begin(); it != provider_set_.end(); ++it) {
current_error = (*it)->GetAuthStatus();
« no previous file with comments | « chrome/browser/signin/oauth2_token_service_unittest.cc ('k') | chrome/browser/signin/signin_global_error_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698