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

Unified Diff: components/signin/core/browser/fake_signin_manager.cc

Issue 1487283005: Implement the new Sync Confirmation dialog on Linux and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit tests to SyncConfirmationHandler. Created 4 years, 11 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: components/signin/core/browser/fake_signin_manager.cc
diff --git a/components/signin/core/browser/fake_signin_manager.cc b/components/signin/core/browser/fake_signin_manager.cc
index 0b596504044e4d22957122dadefa61bc47413d80..d3a7ca8ab9ed6963d5993063f8ac1026b0d2f579 100644
--- a/components/signin/core/browser/fake_signin_manager.cc
+++ b/components/signin/core/browser/fake_signin_manager.cc
@@ -42,6 +42,8 @@ void FakeSigninManager::StartSignInWithRefreshToken(
set_password(password);
username_ = username;
+ PrepareForSignin(SIGNIN_TYPE_WITH_REFRESH_TOKEN, gaia_id, username, password);
+
if (!oauth_fetched_callback.is_null())
oauth_fetched_callback.Run(refresh_token);
}

Powered by Google App Engine
This is Rietveld 408576698