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

Unified Diff: components/user_manager/user_info.h

Issue 1412813003: This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Fix Win GN build. Created 5 years, 1 month 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 | « components/user_manager/user_id.h ('k') | components/user_manager/user_info_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/user_info.h
diff --git a/components/user_manager/user_info.h b/components/user_manager/user_info.h
index cc613c188eb1b5ce25215e73532a99cbd51f95e0..2f0cf19ee42bb22951723b800eb64cb5ee8d0818 100644
--- a/components/user_manager/user_info.h
+++ b/components/user_manager/user_info.h
@@ -8,9 +8,10 @@
#include <string>
#include "base/strings/string16.h"
-#include "components/user_manager/user_id.h"
#include "components/user_manager/user_manager_export.h"
+class AccountId;
+
namespace gfx {
class ImageSkia;
}
@@ -34,9 +35,8 @@ class USER_MANAGER_EXPORT UserInfo {
// as well as capitalized letters. For example: "Foo.Bar@mock.com".
virtual std::string GetEmail() const = 0;
- // Gets the user id (sanitized email address) for the user.
- // The function would return something like "foobar@mock.com".
- virtual UserID GetUserID() const = 0;
+ // Returns AccountId for the user.
+ virtual AccountId GetAccountId() const = 0;
// Gets the avatar image for the user.
virtual const gfx::ImageSkia& GetImage() const = 0;
« no previous file with comments | « components/user_manager/user_id.h ('k') | components/user_manager/user_info_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698