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

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

Issue 180743018: Move SigninTracker away from listening for SigninManager notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move include of SigninManagerFactory Created 6 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 | « chrome/browser/signin/fake_signin_manager.h ('k') | chrome/browser/signin/signin_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/fake_signin_manager.cc
diff --git a/chrome/browser/signin/fake_signin_manager.cc b/chrome/browser/signin/fake_signin_manager.cc
index 7395cda15cde1192a01d7a84f254f01bdeff3d67..1b475b9d56c4c6853c7a81ee5f4a958602f34e25 100644
--- a/chrome/browser/signin/fake_signin_manager.cc
+++ b/chrome/browser/signin/fake_signin_manager.cc
@@ -74,6 +74,10 @@ void FakeSigninManager::SignIn(const std::string& username,
CompletePendingSignin();
}
+void FakeSigninManager::FailSignin(const GoogleServiceAuthError& error) {
+ FOR_EACH_OBSERVER(Observer, observer_list_, GoogleSigninFailed(error));
+}
+
void FakeSigninManager::SignOut() {
if (IsSignoutProhibited())
return;
« no previous file with comments | « chrome/browser/signin/fake_signin_manager.h ('k') | chrome/browser/signin/signin_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698