| 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()));
|
| }
|
|
|