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

Unified Diff: chrome/browser/chromeos/login/oauth2_login_manager.cc

Issue 24473002: Made session restore block about:flags driven browser restart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « chrome/browser/chromeos/login/oauth2_login_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/oauth2_login_manager.cc
diff --git a/chrome/browser/chromeos/login/oauth2_login_manager.cc b/chrome/browser/chromeos/login/oauth2_login_manager.cc
index 4491b2443aadd968f86a28ffd876ae63e957ced1..6d5b8bf9a9ed1df40e3644aeda45c87f86e34f72 100644
--- a/chrome/browser/chromeos/login/oauth2_login_manager.cc
+++ b/chrome/browser/chromeos/login/oauth2_login_manager.cc
@@ -108,6 +108,9 @@ void OAuth2LoginManager::StoreOAuth2Tokens(
const GaiaAuthConsumer::ClientOAuthResult& oauth2_tokens) {
TokenService* token_service = SetupTokenService();
token_service->UpdateCredentialsWithOAuth2(oauth2_tokens);
+
+ FOR_EACH_OBSERVER(Observer, observer_list_,
+ OnNewRefreshTokenAvaiable(user_profile_));
}
void OAuth2LoginManager::LoadAndVerifyOAuth2Tokens() {
« no previous file with comments | « chrome/browser/chromeos/login/oauth2_login_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698