Chromium Code Reviews| 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..15577e34c6e97573f1694005dec20194c9931264 |
| --- /dev/null |
| +++ b/content/child/feature_policy/feature_policy_platform.h |
| @@ -0,0 +1,28 @@ |
| +// 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 CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
| +#define CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |
|
raymes
2017/01/19 02:40:57
Could be good to add yourself as an owner of this
iclelland
2017/01/19 05:40:40
Good idea, thanks. Done. (Added you as well)
|
| + |
| +#include <map> |
| +#include <memory> |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "content/common/content_export.h" |
| +#include "content/common/feature_policy/feature_policy.h" |
| +#include "third_party/WebKit/public/platform/WebFeaturePolicy.h" |
| +#include "url/origin.h" |
| + |
| +namespace content { |
| + |
| +// Conversions between FeaturePolicyHeader and WebParsedFeaturePolicyHeader |
| +FeaturePolicyHeader FeaturePolicyHeaderFromWeb( |
| + const blink::WebParsedFeaturePolicyHeader& web_feature_policy_header); |
| +blink::WebParsedFeaturePolicyHeader FeaturePolicyHeaderToWeb( |
| + const FeaturePolicyHeader& feature_policy_header); |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_CHILD_FEATURE_POLICY_FEATURE_POLICY_PLATFORM_H_ |