| Index: chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
|
| diff --git a/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc b/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
|
| index fce5d4f8c722a214f0fb0ed25d50028dd8250fcc..8a1feff7552332371284e4afe5192793af3a5354 100644
|
| --- a/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
|
| +++ b/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.h"
|
|
|
| -#include "chrome/browser/chromeos/arc/arc_auth_service.h"
|
| +#include "chrome/browser/chromeos/arc/arc_session_manager.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/prefs/pref_service.h"
|
| @@ -19,8 +19,8 @@ namespace {
|
|
|
| // Indicates whether ARC is enabled on this machine.
|
| bool IsArcEnabled(Profile* profile) {
|
| - return arc::ArcAuthService::IsAllowedForProfile(profile) &&
|
| - profile->GetPrefs()->GetBoolean(prefs::kArcEnabled);
|
| + return arc::ArcSessionManager::IsAllowedForProfile(profile) &&
|
| + profile->GetPrefs()->GetBoolean(prefs::kArcEnabled);
|
| }
|
|
|
| } // namespace
|
|
|