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

Unified Diff: content/public/common/content_features.cc

Issue 2248083002: [Feature Policy] Add command-line flag and about://flags interface for Feature Policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 96e4f553a8d5aaffcccf720960b100a625053297..5e28c3f52aca23b5c2eaf86e58803b7302c1285f 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -39,6 +39,11 @@ const base::Feature kDoNotUnlockSharedBuffer{"DoNotUnlockSharedBuffer",
const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Enables the Feature Policy framework for granting and removing access to
+// other features through HTTP headers.
+const base::Feature kFeaturePolicy{"FeaturePolicy",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Enables a blink::FontCache optimization that reuses a font to serve different
// size of font.
const base::Feature kFontCacheScaling{"FontCacheScaling",
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698