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

Unified Diff: chrome/browser/extensions/extension_disabled_ui.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/extensions/extension_disabled_ui.cc
diff --git a/chrome/browser/extensions/extension_disabled_ui.cc b/chrome/browser/extensions/extension_disabled_ui.cc
index e3b3ea75c36314215ac4b5d7a40ad24618391b9a..ea131d5deaf551e24dc229dbf7f0deedb1a59fca 100644
--- a/chrome/browser/extensions/extension_disabled_ui.cc
+++ b/chrome/browser/extensions/extension_disabled_ui.cc
@@ -33,6 +33,7 @@
#include "content/public/browser/notification_source.h"
#include "extensions/browser/extension_util.h"
#include "extensions/browser/image_loader.h"
+#include "extensions/browser/uninstall_reason.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_icon_set.h"
@@ -366,9 +367,7 @@ bool ExtensionDisabledGlobalError::ShouldCloseOnDeactivate() const {
void ExtensionDisabledGlobalError::ExtensionUninstallAccepted() {
service_->UninstallExtension(
- extension_->id(),
- ExtensionService::UNINSTALL_REASON_EXTENSION_DISABLED,
- NULL);
+ extension_->id(), extensions::UNINSTALL_REASON_EXTENSION_DISABLED, NULL);
}
void ExtensionDisabledGlobalError::ExtensionUninstallCanceled() {
« no previous file with comments | « chrome/browser/extensions/extension_context_menu_model.cc ('k') | chrome/browser/extensions/extension_gcm_app_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698