Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1688)

Unified Diff: chrome/browser/ui/app_list/app_list_syncable_service.cc

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c19585fdccb512e3cb80139c793f7c29fee9d0a2..bb7ce75d1b2c3f3943456b18bb9555af685fca40 100644
--- a/chrome/browser/ui/app_list/app_list_syncable_service.cc
+++ b/chrome/browser/ui/app_list/app_list_syncable_service.cc
@@ -118,7 +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);
+ id, extensions::UninstalledExtensionInfo::REASON_SYNC, NULL);
}
bool GetAppListItemType(AppListItem* item,

Powered by Google App Engine
This is Rietveld 408576698