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

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

Issue 2815003005: Integrate WebUSB with Feature Policy (Closed)
Patch Set: Ready for review Created 3 years, 8 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 95ac512c6c138fee5c262e6d9c6c13c7841ec0e6..13d8526425deccb5830d19998471d0ec35845ae6 100644
--- a/third_party/WebKit/public/platform/WebFeaturePolicy.h
+++ b/third_party/WebKit/public/platform/WebFeaturePolicy.h
@@ -54,7 +54,9 @@ enum class WebFeaturePolicyFeature {
kSyncXHR,
// Controls access to RTCPeerConnection interface.
kWebRTC,
- LAST_FEATURE = kWebRTC
+ // Controls access to the WebUSB API.
+ kUsb,
+ LAST_FEATURE = kUsb
};
struct BLINK_PLATFORM_EXPORT WebParsedFeaturePolicyDeclaration {

Powered by Google App Engine
This is Rietveld 408576698