Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Unified Diff: third_party/WebKit/public/platform/WebFeaturePolicy.h

Issue 2648423002: Rename feature policy classes. (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
index a2c03f79605f67d1a78cbbdc5b27ad6869d3a1f9..b0394a552ad220cfd2c2f08f38566d8787d29180 100644
--- a/third_party/WebKit/public/platform/WebFeaturePolicy.h
+++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
@@ -11,16 +11,17 @@
namespace blink {
-struct WebFeaturePolicy {
- struct ParsedWhitelist {
- ParsedWhitelist() : matchesAllOrigins(false) {}
- WebString featureName;
- bool matchesAllOrigins;
- WebVector<WebSecurityOrigin> origins;
- };
+struct WebParsedFeaturePolicyDeclaration {
+ WebParsedFeaturePolicyDeclaration() : matchesAllOrigins(false) {}
+ WebString featureName;
+ bool matchesAllOrigins;
+ WebVector<WebSecurityOrigin> origins;
};
-using WebParsedFeaturePolicy = WebVector<WebFeaturePolicy::ParsedWhitelist>;
+// Used in Blink code to represent parsed headers. Used for IPC between renderer
+// and browser.
+using WebParsedFeaturePolicyHeader =
+ WebVector<WebParsedFeaturePolicyDeclaration>;
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698