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

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

Issue 335833003: Rename "managed (mode|user)" to "supervised user" (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments (+ a few other cleanups) 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 8edbb385ee54930cb366541d95f82d51587c5c39..35f58c08d60ecc5bba9445c0a9df551b7784c1d7 100644
--- a/chrome/browser/sync/sessions/notification_service_sessions_router.cc
+++ b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
@@ -21,8 +21,8 @@
#include "content/public/browser/web_contents.h"
#if defined(ENABLE_MANAGED_USERS)
-#include "chrome/browser/managed_mode/managed_user_service.h"
-#include "chrome/browser/managed_mode/managed_user_service_factory.h"
+#include "chrome/browser/supervised_user/supervised_user_service.h"
+#include "chrome/browser/supervised_user/supervised_user_service_factory.h"
#endif
using content::NavigationController;
@@ -57,9 +57,9 @@ NotificationServiceSessionsRouter::NotificationServiceSessionsRouter(
content::Source<Profile>(profile_));
#if defined(ENABLE_MANAGED_USERS)
if (profile_->IsSupervised()) {
- ManagedUserService* managed_user_service =
- ManagedUserServiceFactory::GetForProfile(profile_);
- managed_user_service->AddNavigationBlockedCallback(
+ SupervisedUserService* supervised_user_service =
+ SupervisedUserServiceFactory::GetForProfile(profile_);
+ supervised_user_service->AddNavigationBlockedCallback(
base::Bind(&NotificationServiceSessionsRouter::OnNavigationBlocked,
weak_ptr_factory_.GetWeakPtr()));
}

Powered by Google App Engine
This is Rietveld 408576698