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

Unified Diff: chrome/browser/extensions/extension_uninstall_dialog.h

Issue 2860663003: Make CWS Report Abuse page the active tab after report abuse and uninstall (Closed)
Patch Set: Added Tests Created 3 years, 7 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_uninstall_dialog.h
diff --git a/chrome/browser/extensions/extension_uninstall_dialog.h b/chrome/browser/extensions/extension_uninstall_dialog.h
index 384bd8e9212cdf1b258792a9e61af608c4696fda..7f8f4d446835e413341f9bffa4e8b9568e2bc8a4 100644
--- a/chrome/browser/extensions/extension_uninstall_dialog.h
+++ b/chrome/browser/extensions/extension_uninstall_dialog.h
@@ -95,6 +95,9 @@ class ExtensionUninstallDialog
const gfx::ImageSkia& icon() const { return icon_; }
private:
+ // Uninstalls the extension.
Devlin 2017/05/15 23:28:04 nit: we could make this return a bool for success,
catmullings 2017/05/18 18:26:00 Done.
+ void Uninstall(bool* success, base::string16* error);
+
// Handles the "report abuse" checkbox being checked at the close of the
// dialog.
void HandleReportAbuse();

Powered by Google App Engine
This is Rietveld 408576698