OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
| 6 #define CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
| 7 |
| 8 #include "content/common/feature_policy/feature_policy.h" |
| 9 #include "third_party/WebKit/public/platform/WebFeaturePolicy.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 // Conversions between ParsedFeaturePolicyHeader and |
| 14 // WebParsedFeaturePolicyHeader |
| 15 ParsedFeaturePolicyHeader FeaturePolicyHeaderFromWeb( |
| 16 const blink::WebParsedFeaturePolicyHeader& web_feature_policy_header); |
| 17 blink::WebParsedFeaturePolicyHeader FeaturePolicyHeaderToWeb( |
| 18 const ParsedFeaturePolicyHeader& feature_policy_header); |
| 19 |
| 20 } // namespace content |
| 21 |
| 22 #endif // CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
OLD | NEW |