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

Unified Diff: components/signin/core/browser/signin_error_controller.h

Issue 1094103005: Profile chooser on mac was passing wrong value to signin error controller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 8 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/signin_error_controller.h
diff --git a/components/signin/core/browser/signin_error_controller.h b/components/signin/core/browser/signin_error_controller.h
index 368b916a84eae7162bb245b7adff0e97964e2f52..2eea9a50da6d10710b9f9396d1f60b75b7dfafa9 100644
--- a/components/signin/core/browser/signin_error_controller.h
+++ b/components/signin/core/browser/signin_error_controller.h
@@ -26,9 +26,6 @@ class SigninErrorController : public KeyedService {
// Returns the account id with the status specified by GetAuthStatus().
virtual std::string GetAccountId() const = 0;
- // Returns the username with the status specified by GetAuthStatus().
- virtual std::string GetUsername() const = 0;
-
// API invoked by SigninErrorController to get the current auth status of
// the various signed in services.
virtual GoogleServiceAuthError GetAuthStatus() const = 0;
@@ -63,7 +60,6 @@ class SigninErrorController : public KeyedService {
void RemoveObserver(Observer* observer);
const std::string& error_account_id() const { return error_account_id_; }
- const std::string& error_username() const { return error_username_; }
const GoogleServiceAuthError& auth_error() const { return auth_error_; }
private:
@@ -71,7 +67,6 @@ class SigninErrorController : public KeyedService {
// The account that generated the last auth error.
std::string error_account_id_;
- std::string error_username_;
// The auth error detected the last time AuthStatusChanged() was invoked (or
// NONE if AuthStatusChanged() has never been invoked).

Powered by Google App Engine
This is Rietveld 408576698