| Index: chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| index 8f3d9f069dbb14c9d27abd01428d7b35dd67b8fc..0c12c0a6fe5faf45cbf1edaf50f05deb4cc645e3 100644
|
| --- a/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc
|
| @@ -19,8 +19,8 @@
|
| #include "ash/wm/window_util.h"
|
| #include "base/bind.h"
|
| #include "base/memory/ptr_util.h"
|
| -#include "chrome/browser/chromeos/arc/arc_session_manager.h"
|
| #include "chrome/browser/chromeos/arc/arc_support_host.h"
|
| +#include "chrome/browser/chromeos/arc/arc_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/app_list/arc/arc_app_utils.h"
|
| #include "chrome/browser/ui/ash/launcher/arc_app_window_launcher_item_controller.h"
|
| @@ -255,7 +255,7 @@ ArcAppWindowLauncherController::ArcAppWindowLauncherController(
|
| ChromeLauncherController* owner,
|
| ash::ShelfDelegate* shelf_delegate)
|
| : AppWindowLauncherController(owner), shelf_delegate_(shelf_delegate) {
|
| - if (arc::ArcSessionManager::IsAllowedForProfile(owner->profile())) {
|
| + if (arc::IsArcAllowedForProfile(owner->profile())) {
|
| observed_profile_ = owner->profile();
|
| StartObserving(observed_profile_);
|
| }
|
| @@ -315,7 +315,7 @@ void ArcAppWindowLauncherController::ActiveUserChanged(
|
|
|
| void ArcAppWindowLauncherController::AdditionalUserAddedToSession(
|
| Profile* profile) {
|
| - DCHECK(!arc::ArcSessionManager::IsAllowedForProfile(profile));
|
| + DCHECK(!arc::IsArcAllowedForProfile(profile));
|
| }
|
|
|
| void ArcAppWindowLauncherController::OnWindowInitialized(aura::Window* window) {
|
|
|