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

Unified Diff: chrome/browser/extensions/extension_install_prompt.cc

Issue 2860663003: Make CWS Report Abuse page the active tab after report abuse and uninstall (Closed)
Patch Set: Polishing test 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_install_prompt.cc
diff --git a/chrome/browser/extensions/extension_install_prompt.cc b/chrome/browser/extensions/extension_install_prompt.cc
index f09336939a68e49be532c5cb564ebf8ccf507d3f..d691a713a57c40fbdb097d1eddc5fe7bbf9790a5 100644
--- a/chrome/browser/extensions/extension_install_prompt.cc
+++ b/chrome/browser/extensions/extension_install_prompt.cc
@@ -80,6 +80,7 @@ bool AutoConfirmPrompt(ExtensionInstallPrompt::DoneCallback* callback) {
// the real implementations it's highly likely the message loop will be
// pumping a few times before the user clicks accept or cancel.
case extensions::ScopedTestDialogAutoConfirm::ACCEPT:
+ case extensions::ScopedTestDialogAutoConfirm::ACCEPT_AND_OPTION:
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE, base::BindOnce(base::ResetAndReturn(callback),
ExtensionInstallPrompt::Result::ACCEPTED));

Powered by Google App Engine
This is Rietveld 408576698