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

Unified Diff: chrome/browser/supervised_user/supervised_user_service.cc

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
Index: chrome/browser/supervised_user/supervised_user_service.cc
diff --git a/chrome/browser/supervised_user/supervised_user_service.cc b/chrome/browser/supervised_user/supervised_user_service.cc
index 38104ccd1b470eaee6773c58ed0f62b1f5a00029..0df5660035af85fb7ef9413e6452ff8c1f1b02aa 100644
--- a/chrome/browser/supervised_user/supervised_user_service.cc
+++ b/chrome/browser/supervised_user/supervised_user_service.cc
@@ -851,7 +851,7 @@ std::string SupervisedUserService::GetSupervisedUserName() const {
// The active user can be NULL in unit tests.
if (user_manager::UserManager::Get()->GetActiveUser()) {
return UTF16ToUTF8(user_manager::UserManager::Get()->GetUserDisplayName(
- user_manager::UserManager::Get()->GetActiveUser()->GetUserID()));
+ user_manager::UserManager::Get()->GetActiveUser()->GetAccountId()));
}
return std::string();
#else
« no previous file with comments | « chrome/browser/supervised_user/chromeos/manager_password_service.cc ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698