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 97db26e0bff4e6158be83de2c0e6fe3c12ebb34f..6249641b5be67fad98d6fd2e8db066e25449f2be 100644 |
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc |
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc |
@@ -40,6 +40,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 |
@@ -1047,6 +1048,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 = |