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

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: 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..59e0edada5ffb31a9250c9bbad79dc07a5030c11 100644
--- a/chrome/browser/extensions/extension_disabled_ui.cc
+++ b/chrome/browser/extensions/extension_disabled_ui.cc
@@ -49,6 +49,7 @@
#include "ui/gfx/size.h"
using extensions::Extension;
+using extensions::UninstalledExtensionInfo;
namespace {
@@ -367,7 +368,7 @@ bool ExtensionDisabledGlobalError::ShouldCloseOnDeactivate() const {
void ExtensionDisabledGlobalError::ExtensionUninstallAccepted() {
service_->UninstallExtension(
extension_->id(),
- ExtensionService::UNINSTALL_REASON_EXTENSION_DISABLED,
+ UninstalledExtensionInfo::REASON_EXTENSION_DISABLED,
NULL);
}

Powered by Google App Engine
This is Rietveld 408576698