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

Unified Diff: chrome/browser/chromeos/login/signin/oauth2_login_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/signin/oauth2_login_manager.cc
diff --git a/chrome/browser/chromeos/login/signin/oauth2_login_manager.cc b/chrome/browser/chromeos/login/signin/oauth2_login_manager.cc
index edd20df145f4aebe19f517808fd14006dca30136..451c0ec20be4657d1c3105211ba782de45d3dd70 100644
--- a/chrome/browser/chromeos/login/signin/oauth2_login_manager.cc
+++ b/chrome/browser/chromeos/login/signin/oauth2_login_manager.cc
@@ -138,8 +138,8 @@ void OAuth2LoginManager::OnRefreshTokenAvailable(
// Do not validate tokens for supervised users, as they don't actually have
// oauth2 token.
- if (UserManager::Get()->IsLoggedInAsLocallyManagedUser()) {
- VLOG(1) << "Logged in as managed user, skip token validation.";
+ if (UserManager::Get()->IsLoggedInAsSupervisedUser()) {
+ VLOG(1) << "Logged in as supervised user, skip token validation.";
return;
}
// Only restore session cookies for the primary account in the profile.

Powered by Google App Engine
This is Rietveld 408576698