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

Unified Diff: extensions/browser/api/management/management_api_delegate.h

Issue 948413005: [Extensions] Make chrome://extensions use management.uninstall (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Kalman's Created 5 years, 10 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/browser/api/management/management_api_delegate.h
diff --git a/extensions/browser/api/management/management_api_delegate.h b/extensions/browser/api/management/management_api_delegate.h
index 1af47bfd89317f123ab9384f659f21565142811c..c6db8517ef7f1e08378fb3f96fdc66cf30899100 100644
--- a/extensions/browser/api/management/management_api_delegate.h
+++ b/extensions/browser/api/management/management_api_delegate.h
@@ -90,10 +90,11 @@ class ManagementAPIDelegate {
const std::string& extension_id,
Extension::DisableReason disable_reason) const = 0;
- // Used to show a confirmation dialog when uninstalling |target_extension_id|.
+ // Used to show a confirmation dialog when uninstalling |target_extension|.
virtual scoped_ptr<UninstallDialogDelegate> UninstallFunctionDelegate(
ManagementUninstallFunctionBase* function,
- const std::string& target_extension_id) const = 0;
+ const Extension* target_extension,
+ bool show_programmatic_uninstall_ui) const = 0;
// Uninstalls the extension.
virtual bool UninstallExtension(content::BrowserContext* context,

Powered by Google App Engine
This is Rietveld 408576698