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

Unified Diff: extensions/common/extension.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: extensions/common/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index 8fab82b2696811b96acf792c956b3536c45393bf..966a33042599807cc0849a5ccc100b75c82b936d 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -773,6 +773,12 @@ UnloadedExtensionInfo::UnloadedExtensionInfo(
: reason(reason),
extension(extension) {}
+UninstalledExtensionInfo::UninstalledExtensionInfo(
+ const Extension* extension,
+ UninstalledExtensionInfo::Reason reason)
+ : reason(reason), extension(extension) {
+}
+
UpdatedExtensionPermissionsInfo::UpdatedExtensionPermissionsInfo(
const Extension* extension,
const PermissionSet* permissions,
« chrome/browser/ui/app_list/extension_uninstaller.cc ('K') | « extensions/common/extension.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698