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

Unified Diff: components/user_manager/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/user_info.h
diff --git a/components/user_manager/user_info.h b/components/user_manager/user_info.h
index cc613c188eb1b5ce25215e73532a99cbd51f95e0..e9c14688d52b4404db59fe8fe7f261786f3cdfb2 100644
--- a/components/user_manager/user_info.h
+++ b/components/user_manager/user_info.h
@@ -36,7 +36,7 @@ class USER_MANAGER_EXPORT UserInfo {
// Gets the user id (sanitized email address) for the user.
// The function would return something like "foobar@mock.com".
- virtual UserID GetUserID() const = 0;
+ virtual const UserID& GetUserID() const = 0;
// Gets the avatar image for the user.
virtual const gfx::ImageSkia& GetImage() const = 0;

Powered by Google App Engine
This is Rietveld 408576698