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

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

Issue 2905113002: Initialize a default feature policy for all documents (Closed)
Patch Set: Fix layout test 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 ad3b9481ef8f4f5aee62a56a2042eb7de7b8dd22..a534fc6e67f876b9cbe3c24c54ca9e8cd96ab470 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