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

Unified Diff: chrome/browser/sync/sessions/notification_service_sessions_router.cc

Issue 316863002: Rename "managed (mode|user)" to "supervised user" (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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/sessions/notification_service_sessions_router.cc
diff --git a/chrome/browser/sync/sessions/notification_service_sessions_router.cc b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
index d1ab522af1a1975b9472fcd2e6589508b552705f..8edbb385ee54930cb366541d95f82d51587c5c39 100644
--- a/chrome/browser/sync/sessions/notification_service_sessions_router.cc
+++ b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
@@ -56,7 +56,7 @@ NotificationServiceSessionsRouter::NotificationServiceSessionsRouter(
registrar_.Add(this, chrome::NOTIFICATION_FAVICON_CHANGED,
content::Source<Profile>(profile_));
#if defined(ENABLE_MANAGED_USERS)
- if (profile_->IsManaged()) {
+ if (profile_->IsSupervised()) {
ManagedUserService* managed_user_service =
ManagedUserServiceFactory::GetForProfile(profile_);
managed_user_service->AddNavigationBlockedCallback(

Powered by Google App Engine
This is Rietveld 408576698