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

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: Refactor Created 3 years, 8 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..d3569cac0373b78d01cd4b79388a9a99a7b656a2 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.
+ void Uninstall(bool& success, base::string16& error);
Devlin 2017/05/05 20:46:38 two notes: - We shouldn't pass POD (like bool) by
catmullings 2017/05/15 22:27:55 What does POD mean?
Devlin 2017/05/15 23:28:04 POD refers to "Plain Old Data", and basically mean
catmullings 2017/05/18 18:25:59 Done.
+
// Handles the "report abuse" checkbox being checked at the close of the
// dialog.
void HandleReportAbuse();

Powered by Google App Engine
This is Rietveld 408576698