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

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

Issue 2655663004: Introduce content-side Feature Policy object and maintain in parallel with renderer policy. (Closed)
Patch Set: Review nits Created 3 years, 10 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
« no previous file with comments | « content/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b0394a552ad220cfd2c2f08f38566d8787d29180..04a626a48e607daeef15d695b29350c085eee89e 100644
--- a/third_party/WebKit/public/platform/WebFeaturePolicy.h
+++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
@@ -11,6 +11,25 @@
namespace blink {
+enum class WebFeaturePolicyFeature {
Rick Byers 2017/02/09 20:40:14 nit: we generally try to write detailed comments f
iclelland 2017/02/09 21:01:00 Done, thanks!
+ NotFound = 0,
+ DocumentCookie,
+ DocumentDomain,
+ DocumentWrite,
+ Geolocation,
+ Fullscreen,
+ MidiFeature,
+ Notifications,
+ Payment,
+ Push,
+ SyncScript,
+ SyncXHR,
+ Usermedia,
+ Vibrate,
+ WebRTC,
+ LAST_FEATURE = WebRTC
+};
+
struct WebParsedFeaturePolicyDeclaration {
WebParsedFeaturePolicyDeclaration() : matchesAllOrigins(false) {}
WebString featureName;
« no previous file with comments | « content/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698