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

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

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix header file. 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/extension_uninstaller.cc
diff --git a/chrome/browser/ui/app_list/extension_uninstaller.cc b/chrome/browser/ui/app_list/extension_uninstaller.cc
index dd4b23f3f87d0f59a7bf44ceec98d328b682900c..138b7ae72aac7885580cefccefcdd73ba5db2826 100644
--- a/chrome/browser/ui/app_list/extension_uninstaller.cc
+++ b/chrome/browser/ui/app_list/extension_uninstaller.cc
@@ -8,6 +8,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
#include "extensions/browser/extension_system.h"
+#include "extensions/browser/uninstall_reason.h"
#include "extensions/common/extension.h"
ExtensionUninstaller::ExtensionUninstaller(
@@ -43,7 +44,7 @@ void ExtensionUninstaller::ExtensionUninstallAccepted() {
service->GetInstalledExtension(app_id_);
if (extension) {
service->UninstallExtension(
- app_id_, ExtensionService::UNINSTALL_REASON_USER_INITIATED, NULL);
+ app_id_, extensions::UNINSTALL_REASON_USER_INITIATED, NULL);
}
controller_->OnCloseChildDialog();
CleanUp();
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc ('k') | chrome/browser/ui/app_list/recommended_apps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698