| 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 4a88c66f8cac21b3bfae6b3ecca770f665ba8164..aabaeb7b7b865440a51ebfe32d9e52f876505011 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
|
|
|
| @@ -1059,6 +1060,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 =
|
|
|