Adds developer flag and defines Previews bit for a new NoScript preview
This has basic definitions to allow us to write a new preview
intervention (for disabling javascript) behind a flag for further
testing.
Bug: 773834
Change-Id: Iedcae915d4c7d8c837b003b873118b16ff7625b1
Reviewed-on: https://chromium-review.googlesource.com/714217
Reviewed-by: Scott Little <[email protected]>
Reviewed-by: Kinuko Yasuda <[email protected]>
Commit-Queue: Doug Arnett <[email protected]>
Cr-Commit-Position: refs/heads/master@{#508431}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index afc8371..bd871a6 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2105,6 +2105,9 @@
previews::features::kClientLoFi,
kClientPlaceholdersForServerLoFiFeatureVariations,
"PreviewsClientLoFi")},
+ {"enable-noscript-previews", flag_descriptions::kEnableNoScriptPreviewsName,
+ flag_descriptions::kEnableNoScriptPreviewsDescription, kOsAll,
+ FEATURE_VALUE_TYPE(previews::features::kNoScriptPreviews)},
{"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName,
flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)},