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

Unified Diff: extensions/common/switches.cc

Issue 270153004: Introduce ActiveScriptController; track active extension scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « extensions/common/switches.h ('k') | extensions/renderer/user_script_slave.cc » ('j') | 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 57ea9602c5748c7a42d5c2cda61a950b9c793672..306f85af56c208618f1f7b721f17a02b9dcb4eb7 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -59,6 +59,9 @@ const char kForceDevModeHighlighting[] = "force-dev-mode-highlighting";
// Enables setting global commands through the Extensions Commands API.
const char kGlobalCommands[] = "global-commands";
+// Notify the user and require consent for extensions running scripts.
+const char kScriptsRequireAction[] = "scripts-require-action";
+
// 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') | extensions/renderer/user_script_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698