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

Unified Diff: extensions/browser/extension_dialog_auto_confirm.cc

Issue 1148323007: [Extensions] Introduce a ScopedExtensionDialogAutoConfirm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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.cc
diff --git a/extensions/browser/extension_dialog_auto_confirm.cc b/extensions/browser/extension_dialog_auto_confirm.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d3b125784f5dda4aa76884d5f3e0d41996c7b77d
--- /dev/null
+++ b/extensions/browser/extension_dialog_auto_confirm.cc
@@ -0,0 +1,14 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "extensions/browser/extension_dialog_auto_confirm.h"
+
+namespace extensions {
+
+ExtensionDialogAutoConfirm g_auto_confirm_uninstall_for_testing =
+ AUTO_CONFIRM_NONE;
+ExtensionDialogAutoConfirm g_auto_confirm_install_for_testing =
+ AUTO_CONFIRM_NONE;
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698