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 2f0cddaef010e47808f3f79a8c9ae91ce68a3d63..c1a03b6d6860343dffd8de27b81f935cd33d711a 100644 |
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc |
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/notification_source.h" |
#include "extensions/browser/extension_prefs.h" |
#include "extensions/browser/extension_system.h" |
+#include "extensions/browser/uninstall_reason.h" |
#include "grit/generated_resources.h" |
#include "sync/api/sync_change_processor.h" |
#include "sync/api/sync_data.h" |
@@ -117,8 +118,7 @@ bool IsUnRemovableDefaultApp(const std::string& id) { |
void UninstallExtension(ExtensionService* service, const std::string& id) { |
if (service && service->GetInstalledExtension(id)) |
- service->UninstallExtension( |
- id, ExtensionService::UNINSTALL_REASON_SYNC, NULL); |
+ service->UninstallExtension(id, extensions::UNINSTALL_REASON_SYNC, NULL); |
} |
bool GetAppListItemType(AppListItem* item, |