| 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 a2c03f79605f67d1a78cbbdc5b27ad6869d3a1f9..b0394a552ad220cfd2c2f08f38566d8787d29180 100644
|
| --- a/third_party/WebKit/public/platform/WebFeaturePolicy.h
|
| +++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
|
| @@ -11,16 +11,17 @@
|
|
|
| namespace blink {
|
|
|
| -struct WebFeaturePolicy {
|
| - struct ParsedWhitelist {
|
| - ParsedWhitelist() : matchesAllOrigins(false) {}
|
| - WebString featureName;
|
| - bool matchesAllOrigins;
|
| - WebVector<WebSecurityOrigin> origins;
|
| - };
|
| +struct WebParsedFeaturePolicyDeclaration {
|
| + WebParsedFeaturePolicyDeclaration() : matchesAllOrigins(false) {}
|
| + WebString featureName;
|
| + bool matchesAllOrigins;
|
| + WebVector<WebSecurityOrigin> origins;
|
| };
|
|
|
| -using WebParsedFeaturePolicy = WebVector<WebFeaturePolicy::ParsedWhitelist>;
|
| +// Used in Blink code to represent parsed headers. Used for IPC between renderer
|
| +// and browser.
|
| +using WebParsedFeaturePolicyHeader =
|
| + WebVector<WebParsedFeaturePolicyDeclaration>;
|
|
|
| } // namespace blink
|
|
|
|
|