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

Unified Diff: chrome/browser/usb/usb_tab_helper.h

Issue 2815003005: Integrate WebUSB with Feature Policy (Closed)
Patch Set: Add Feature Policy tests that set headers 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: chrome/browser/usb/usb_tab_helper.h
diff --git a/chrome/browser/usb/usb_tab_helper.h b/chrome/browser/usb/usb_tab_helper.h
index 6a9a361140dc7c5ec85d1941fe43c2b6dd6c05ea..ceefd7f6101c723bc7a8e1f546dc8c75b6809696 100644
--- a/chrome/browser/usb/usb_tab_helper.h
+++ b/chrome/browser/usb/usb_tab_helper.h
@@ -68,6 +68,9 @@ class UsbTabHelper : public content::WebContentsObserver,
void NotifyTabStateChanged() const;
+ bool AllowedByFeaturePolicy(
+ content::RenderFrameHost* render_frame_host) const;
+
FrameUsbServicesMap frame_usb_services_;
DISALLOW_COPY_AND_ASSIGN(UsbTabHelper);

Powered by Google App Engine
This is Rietveld 408576698