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

Unified Diff: ash/system/user/user_accounts_delegate.h

Issue 256623002: Implemented inline login dialog for Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge conflicts resolved. Created 6 years, 7 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 | « ash/system/user/accounts_detailed_view.cc ('k') | chrome/browser/chromeos/login/oauth2_login_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/user_accounts_delegate.h
diff --git a/ash/system/user/user_accounts_delegate.h b/ash/system/user/user_accounts_delegate.h
index b717e83aac24a791265859649b389609169a8722..2c42843536986b1d21a367c492d67a907fd856b9 100644
--- a/ash/system/user/user_accounts_delegate.h
+++ b/ash/system/user/user_accounts_delegate.h
@@ -35,16 +35,13 @@ class ASH_EXPORT UserAccountsDelegate {
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
- // Returns the user's primary account as a canonicalized email address.
- virtual std::string GetPrimaryAccount() = 0;
+ // Returns the user's primary account's ID.
+ virtual std::string GetPrimaryAccountId() = 0;
- // Returns a list of the user's secondary accounts in form of canonicalized
- // email addresses.
- virtual std::vector<std::string> GetSecondaryAccountsList() = 0;
+ // Returns a list of the user's secondary accounts' IDs.
+ virtual std::vector<std::string> GetSecondaryAccountIds() = 0;
- // Returns display name for given |account_id|. It has form of email but could
- // be uncanonical, e.g. account "test-user@gmail.com" could have display
- // name "Test-user+AfterPlus@gmail.com".
+ // Returns display name for given |account_id|.
virtual std::string GetAccountDisplayName(const std::string& account_id) = 0;
// Deletes given |account_id| from the list of user's account. Passing
« no previous file with comments | « ash/system/user/accounts_detailed_view.cc ('k') | chrome/browser/chromeos/login/oauth2_login_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698