| Index: chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_syncable_service.cc b/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| index 03c9ddcdc2c25be5ac51b2d704cb9c8ef7a1a6ac..fb9385211b40b43a7a7110ae33aa3b1db942fe51 100644
|
| --- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| @@ -40,7 +40,6 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| -#include "chrome/browser/chromeos/arc/arc_session_manager.h"
|
| #include "chrome/browser/chromeos/arc/arc_util.h"
|
| #include "chrome/browser/chromeos/file_manager/app_id.h"
|
| #include "chrome/browser/chromeos/genius_app/app_id.h"
|
| @@ -262,10 +261,7 @@ class AppListSyncableService::ModelObserver : public AppListModelObserver {
|
| #if defined(OS_CHROMEOS)
|
| if (item->GetItemType() == ArcAppItem::kItemType) {
|
| // Don't sync remove changes coming as result of disabling ARC.
|
| - const arc::ArcSessionManager* arc_session_manager =
|
| - arc::ArcSessionManager::Get();
|
| - DCHECK(arc_session_manager);
|
| - if (!arc_session_manager->IsArcPlayStoreEnabled())
|
| + if (!arc::IsArcPlayStoreEnabledForProfile(owner_->profile()))
|
| return;
|
| }
|
| #endif
|
|
|