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

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

Issue 2727803004: Replace string by enum in WebParsedFeaturePolicyDeclaration#feature (Closed)
Patch Set: Codereview: nit -- add comments to introduce features Created 3 years, 9 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 | « third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp ('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 44a0cac853468698cd4a446e03a164c3d50b27c7..2f1387f63ec8cb1f733065b82354b02696885654 100644
--- a/third_party/WebKit/public/platform/WebFeaturePolicy.h
+++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
@@ -50,7 +50,7 @@ enum class WebFeaturePolicyFeature {
struct BLINK_PLATFORM_EXPORT WebParsedFeaturePolicyDeclaration {
WebParsedFeaturePolicyDeclaration() : matchesAllOrigins(false) {}
- WebString featureName;
+ WebFeaturePolicyFeature feature;
bool matchesAllOrigins;
WebVector<WebSecurityOrigin> origins;
};
« no previous file with comments | « third_party/WebKit/Source/platform/feature_policy/FeaturePolicyTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698