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

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: Fix Mac/ChromeOS builds and iOS tests. 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
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | ui/webui/resources/webui_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ab631a9b6f80cefcd373e17542541a71317d7074..cabf4aa6f8afafa33fc3d93568c6a265a960771f 100644
--- a/components/signin/core/browser/fake_signin_manager.cc
+++ b/components/signin/core/browser/fake_signin_manager.cc
@@ -42,6 +42,9 @@ void FakeSigninManager::StartSignInWithRefreshToken(
set_password(password);
username_ = username;
+ possibly_invalid_gaia_id_.assign(gaia_id);
+ possibly_invalid_email_.assign(username);
+
if (!oauth_fetched_callback.is_null())
oauth_fetched_callback.Run(refresh_token);
}
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | ui/webui/resources/webui_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698