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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9d8d76fe64ba4f915d0ed34d21e7e0fc0ce86ef3 |
--- /dev/null |
+++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WebFeaturePolicy_h |
+#define WebFeaturePolicy_h |
+ |
+#include "WebString.h" |
+#include "WebVector.h" |
+ |
+namespace blink { |
+ |
+struct WebFeaturePolicy { |
raymes
2016/11/22 05:16:33
When we make the FeaturePolicy class publicly avai
raymes
2016/11/22 05:17:12
On 2016/11/22 05:16:33, raymes wrote:
> When we ma
iclelland
2016/11/22 21:02:05
I was working on that, which probably overlapped a
iclelland
2016/11/23 20:20:28
But we probably can't use that in the browser proc
|
+ struct ParsedWhitelist { |
+ ParsedWhitelist() : matchesAllOrigins(false) {} |
+ WebString featureName; |
+ bool matchesAllOrigins; |
+ WebVector<WebString> origins; |
+ }; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebFeaturePolicy_h |