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

Unified Diff: third_party/WebKit/public/platform/WebFeaturePolicy.h

Issue 2739203002: Initial Implementation of Iframe Attribute for Feature Policy (Part 3) (Closed)
Patch Set: Created 3 years, 9 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/public/platform/WebFeaturePolicy.h
diff --git a/third_party/WebKit/public/platform/WebFeaturePolicy.h b/third_party/WebKit/public/platform/WebFeaturePolicy.h
index 93865643a42f9114710189f88492db74ebcb13c6..2f1387f63ec8cb1f733065b82354b02696885654 100644
--- a/third_party/WebKit/public/platform/WebFeaturePolicy.h
+++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
@@ -50,15 +50,14 @@ enum class WebFeaturePolicyFeature {
struct BLINK_PLATFORM_EXPORT WebParsedFeaturePolicyDeclaration {
WebParsedFeaturePolicyDeclaration() : matchesAllOrigins(false) {}
- WebString featureName;
+ WebFeaturePolicyFeature feature;
bool matchesAllOrigins;
WebVector<WebSecurityOrigin> origins;
};
// Used in Blink code to represent parsed headers. Used for IPC between renderer
// and browser.
-using WebParsedFeaturePolicyHeader =
- WebVector<WebParsedFeaturePolicyDeclaration>;
+using WebParsedFeaturePolicy = WebVector<WebParsedFeaturePolicyDeclaration>;
// Composed full policy for a document. Stored in SecurityContext for each
// document. This is essentially an opaque handle to an object in the embedder.

Powered by Google App Engine
This is Rietveld 408576698