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

Unified Diff: extensions/browser/extension_dialog_auto_confirm.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: extensions/browser/extension_dialog_auto_confirm.h
diff --git a/extensions/browser/extension_dialog_auto_confirm.h b/extensions/browser/extension_dialog_auto_confirm.h
index 9ae29b08ea52cdf36d4e99d767ff5c9bf10f4123..db88321c1c9e33e966710967f668ffbd9e62a45a 100644
--- a/extensions/browser/extension_dialog_auto_confirm.h
+++ b/extensions/browser/extension_dialog_auto_confirm.h
@@ -13,9 +13,10 @@ namespace extensions {
class ScopedTestDialogAutoConfirm {
public:
enum AutoConfirm {
- NONE, // The prompt will show normally.
- ACCEPT, // The prompt will always accept.
- CANCEL, // The prompt will always cancel.
+ NONE, // The prompt will show normally.
+ ACCEPT, // The prompt will always accept.
+ ACCEPT_AND_OPTION, // The prompt will always check an option and accept.
Devlin 2017/05/15 23:28:05 nit: "an option (if any)"
catmullings 2017/05/18 18:26:00 Done.
+ CANCEL, // The prompt will always cancel.
};
explicit ScopedTestDialogAutoConfirm(AutoConfirm override_value);

Powered by Google App Engine
This is Rietveld 408576698