| 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..a2c03f79605f67d1a78cbbdc5b27ad6869d3a1f9
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
|
| @@ -0,0 +1,27 @@
|
| +// 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 "WebSecurityOrigin.h"
|
| +#include "WebString.h"
|
| +#include "WebVector.h"
|
| +
|
| +namespace blink {
|
| +
|
| +struct WebFeaturePolicy {
|
| + struct ParsedWhitelist {
|
| + ParsedWhitelist() : matchesAllOrigins(false) {}
|
| + WebString featureName;
|
| + bool matchesAllOrigins;
|
| + WebVector<WebSecurityOrigin> origins;
|
| + };
|
| +};
|
| +
|
| +using WebParsedFeaturePolicy = WebVector<WebFeaturePolicy::ParsedWhitelist>;
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebFeaturePolicy_h
|
|
|