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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2905113002: Initialize a default feature policy for all documents (Closed)
Patch Set: Nits Created 3 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: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index a9a433322001c5f23a07792245a210e2c08c2829..1b4703becca834ae2465516aacd0b20c9ce40662 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1336,6 +1336,8 @@ class CORE_EXPORT Document : public ContainerNode,
CoreProbeSink* GetProbeSink() final;
+ void SetFeaturePolicy(const String& feature_policy_header);
+
protected:
Document(const DocumentInit&, DocumentClassFlags = kDefaultDocumentClass);

Powered by Google App Engine
This is Rietveld 408576698