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

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

Issue 1148323007: [Extensions] Introduce a ScopedExtensionDialogAutoConfirm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 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.h
diff --git a/chrome/browser/extensions/extension_install_prompt.h b/chrome/browser/extensions/extension_install_prompt.h
index da1dd308a447414c47b46726ddd120c6d9a624bb..1613d2b355cb95ba58ee88eebe042c1e6b8fb605 100644
--- a/chrome/browser/extensions/extension_install_prompt.h
+++ b/chrome/browser/extensions/extension_install_prompt.h
@@ -52,15 +52,6 @@ class InfoBarDelegate;
class ExtensionInstallPrompt
: public base::SupportsWeakPtr<ExtensionInstallPrompt> {
public:
- // A setting to cause extension/app installs from the webstore skip the normal
- // confirmation dialog. This should only be used in tests.
- enum AutoConfirmForTests {
- NONE, // The prompt will show normally.
- ACCEPT, // The prompt will always accept.
- CANCEL, // The prompt will always cancel.
- };
- static AutoConfirmForTests g_auto_confirm_for_tests;
-
// This enum is associated with Extensions.InstallPrompt_Type UMA histogram.
// Do not modify existing values and add new values only to the end.
enum PromptType {
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui_browsertest.cc ('k') | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698