OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebFeaturePolicy_h |
| 6 #define WebFeaturePolicy_h |
| 7 |
| 8 #include "WebSecurityOrigin.h" |
| 9 #include "WebString.h" |
| 10 #include "WebVector.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 struct WebFeaturePolicy { |
| 15 struct ParsedWhitelist { |
| 16 ParsedWhitelist() : matchesAllOrigins(false) {} |
| 17 WebString featureName; |
| 18 bool matchesAllOrigins; |
| 19 WebVector<WebSecurityOrigin> origins; |
| 20 }; |
| 21 }; |
| 22 |
| 23 using WebParsedFeaturePolicy = WebVector<WebFeaturePolicy::ParsedWhitelist>; |
| 24 |
| 25 } // namespace blink |
| 26 |
| 27 #endif // WebFeaturePolicy_h |
OLD | NEW |