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

Unified Diff: components/user_manager/empty_user_info.h

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/user_manager/empty_user_info.h
diff --git a/components/user_manager/empty_user_info.h b/components/user_manager/empty_user_info.h
index 52d677c3e2fd0ba65dc2b64aad667696a804b847..abda4f038b9b4595b04aacefbabb8f41efa507ed 100644
--- a/components/user_manager/empty_user_info.h
+++ b/components/user_manager/empty_user_info.h
@@ -25,11 +25,12 @@ class USER_MANAGER_EXPORT EmptyUserInfo : public UserInfo {
base::string16 GetDisplayName() const override;
base::string16 GetGivenName() const override;
std::string GetEmail() const override;
- std::string GetUserID() const override;
+ const UserID& GetUserID() const override;
const gfx::ImageSkia& GetImage() const override;
private:
const gfx::ImageSkia null_image_;
+ const UserID user_id_;
DISALLOW_COPY_AND_ASSIGN(EmptyUserInfo);
};

Powered by Google App Engine
This is Rietveld 408576698