| 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 39e145e1c83b30f86cde7547fc087f7b90ba9300..b6e25a6cafc788e9be56dd78a9a3cc464d346672 100644
|
| --- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
|
| @@ -41,6 +41,7 @@
|
| #include "chrome/browser/chromeos/file_manager/app_id.h"
|
| #include "chrome/browser/chromeos/genius_app/app_id.h"
|
| #include "chrome/browser/ui/app_list/arc/arc_app_item.h"
|
| +#include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h"
|
| #include "chrome/browser/ui/app_list/arc/arc_app_model_builder.h"
|
| #endif
|
|
|
| @@ -1058,6 +1059,12 @@ syncer::StringOrdinal AppListSyncableService::GetOemFolderPos() {
|
| }
|
|
|
| bool AppListSyncableService::AppIsOem(const std::string& id) {
|
| +#if defined(OS_CHROMEOS)
|
| + const ArcAppListPrefs* arc_prefs = ArcAppListPrefs::Get(profile_);
|
| + if (arc_prefs && arc_prefs->IsOem(id))
|
| + return true;
|
| +#endif
|
| +
|
| if (!extension_system_->extension_service())
|
| return false;
|
| const extensions::Extension* extension =
|
|
|