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 CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
| 6 #define CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
| 7 |
| 8 #include <map> |
| 9 #include <memory> |
| 10 #include <string> |
| 11 #include <vector> |
| 12 |
| 13 #include "content/common/content_export.h" |
| 14 #include "content/common/feature_policy/feature_policy.h" |
| 15 #include "third_party/WebKit/public/platform/WebFeaturePolicy.h" |
| 16 #include "url/origin.h" |
| 17 |
| 18 namespace content { |
| 19 |
| 20 // Conversions between FeaturePolicyHeader and WebParsedFeaturePolicyHeader |
| 21 FeaturePolicyHeader FeaturePolicyHeaderFromWeb( |
| 22 const blink::WebParsedFeaturePolicyHeader& web_feature_policy_header); |
| 23 blink::WebParsedFeaturePolicyHeader FeaturePolicyHeaderToWeb( |
| 24 const FeaturePolicyHeader& feature_policy_header); |
| 25 |
| 26 } // namespace content |
| 27 |
| 28 #endif // CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
OLD | NEW |