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

Unified Diff: chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc

Issue 2672603003: Avoid loading an empty token when decrypt failed (Closed)
Patch Set: Fix histogram names Created 3 years, 10 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 | « no previous file | components/signin/core/browser/webdata/token_service_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc
diff --git a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc
index 6a275d9a70133b0ffa42e6cd1875c5bfe8ced625..572980d8df31c3318dc6a98bc54047def17ed0a8 100644
--- a/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc
+++ b/chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc
@@ -383,9 +383,9 @@ void MutableProfileOAuth2TokenServiceDelegate::LoadAllCredentialsIntoMemory(
// Only load secondary accounts when account consistency is enabled.
if (switches::IsEnableAccountConsistency() ||
account_id == loading_primary_account_id_) {
- refresh_tokens_[account_id].reset(new AccountStatus(
- signin_error_controller_, account_id, refresh_token));
- FireRefreshTokenAvailable(account_id);
+ refresh_tokens_[account_id].reset(new AccountStatus(
+ signin_error_controller_, account_id, refresh_token));
+ FireRefreshTokenAvailable(account_id);
} else {
RevokeCredentialsOnServer(refresh_token);
ClearPersistedCredentials(account_id);
« no previous file with comments | « no previous file | components/signin/core/browser/webdata/token_service_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698