Index: content/child/feature_policy/feature_policy_platform.h |
diff --git a/content/child/feature_policy/feature_policy_platform.h b/content/child/feature_policy/feature_policy_platform.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dbf1e95710d11694cf2a11ff93c67739efe6b554 |
--- /dev/null |
+++ b/content/child/feature_policy/feature_policy_platform.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 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 CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
+#define CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
+ |
+#include "content/common/feature_policy/feature_policy.h" |
+#include "third_party/WebKit/public/platform/WebFeaturePolicy.h" |
+ |
+namespace content { |
+ |
+// Conversions between ParsedFeaturePolicyHeader and |
+// WebParsedFeaturePolicyHeader |
+ParsedFeaturePolicyHeader FeaturePolicyHeaderFromWeb( |
+ const blink::WebParsedFeaturePolicyHeader& web_feature_policy_header); |
+blink::WebParsedFeaturePolicyHeader FeaturePolicyHeaderToWeb( |
+ const ParsedFeaturePolicyHeader& feature_policy_header); |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |