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

Unified Diff: extensions/common/switches.cc

Issue 1253993004: Reintroduce --prompt-for-external-extensions flag on Chromium builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment change in switches.cc Created 5 years, 5 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
« no previous file with comments | « extensions/common/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/switches.cc
diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc
index 51681cc2ce33e0306f07fe6016114203de0edaa3..d160d0005bb9d098ff055bc6b7cd72413e82f1f3 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -87,6 +87,12 @@ const char kScriptsRequireAction[] = "scripts-require-action";
// as --scripts-require-action=1.
const char kEnableScriptsRequireAction[] = "enable-scripts-require-action";
+#if defined(CHROMIUM_BUILD)
+// Should we prompt the user before allowing external extensions to install?
+// This flag is available on Chromium for testing purposes.
+const char kPromptForExternalExtensions[] = "prompt-for-external-extensions";
+#endif
+
// Makes component extensions appear in chrome://settings/extensions.
const char kShowComponentExtensionOptions[] =
"show-component-extension-options";
« no previous file with comments | « extensions/common/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698