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

Unified Diff: chrome/browser/sync/sync_ui_util.cc

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: chrome/browser/sync/sync_ui_util.cc
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc
index 762a3ba74d0fdbdb05a085351a34b3b4926b73a0..b0f6b6c0d01a60a631d14eb8d322f0a81cfbf3d9 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -63,7 +63,7 @@ base::string16 GetSyncedStateStatusLabel(ProfileSyncService* service,
// On CrOS user email is sanitized and then passed to the signin manager.
// Original email (containing dots) is stored as "display email".
user_display_name = user_manager::UserManager::Get()->GetUserDisplayEmail(
- user_display_name);
+ user_manager::UserID::FromUserEmail(user_display_name));
}
#endif // defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698