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

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: 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..5c74866c6311f4ef654f67e3ce420dc03343c449 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 enabled on Chromium for testing purposes.
robliao 2015/07/27 21:56:16 My reading is that the flag is available for use i
sydli 2015/07/27 22:06:18 Yes, right now the prompt is enabled by default on
robliao 2015/07/27 22:13:47 Gotcha. Let's do s/enabled/available/ then.
sydli 2015/07/27 22:21:50 Sounds good! Done.
+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