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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) Created 6 years, 5 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/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 95241b4d16af439b364e04111fd585e8e91e32b9..9fe5a4e3193eb4569e2df9feddbd66a3bfc21022 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -598,13 +598,13 @@ void UserSessionManager::InitProfilePreferences(Profile* profile,
if (UserManager::Get()->IsCurrentUserNew())
SetFirstLoginPrefs(profile->GetPrefs());
- if (UserManager::Get()->IsLoggedInAsLocallyManagedUser()) {
+ if (UserManager::Get()->IsLoggedInAsSupervisedUser()) {
User* active_user = UserManager::Get()->GetActiveUser();
- std::string managed_user_sync_id =
+ std::string supervised_user_sync_id =
UserManager::Get()->GetSupervisedUserManager()->
GetUserSyncId(active_user->email());
profile->GetPrefs()->SetString(prefs::kSupervisedUserId,
- managed_user_sync_id);
+ supervised_user_sync_id);
} else if (UserManager::Get()->IsLoggedInAsRegularUser()) {
// Make sure that the google service username is properly set (we do this
// on every sign in, not just the first login, to deal with existing

Powered by Google App Engine
This is Rietveld 408576698