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

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: UMA 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
Index: extensions/common/switches.cc
diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc
index 41c3469f2bdd580375b7fa7372e065bdb3fb7d51..75a4c3b89035eecb07f48244104ba829d0c1fecb 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -8,6 +8,9 @@ namespace extensions {
namespace switches {
+// Notify the user and require consent for extensions running scripts.
+const char kActiveScriptEnforcement[] = "active-script-enforcement";
+
// Allows non-https URL for background_page for hosted apps.
const char kAllowHTTPBackgroundPage[] = "allow-http-background-page";

Powered by Google App Engine
This is Rietveld 408576698