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

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

Issue 1684043002: Fix build failure of chrome_public_apk on Android GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 7d4cec513ceb3f5bb92e6632be0b020ad505ec7d..a12a5a4f6dd28f0fe3aca066cc2621481aa1c70e 100644
--- a/chrome/browser/usb/usb_tab_helper.h
+++ b/chrome/browser/usb/usb_tab_helper.h
@@ -41,9 +41,11 @@ class UsbTabHelper : public content::WebContentsObserver,
content::RenderFrameHost* render_frame_host,
mojo::InterfaceRequest<device::usb::DeviceManager> request);
+#if !defined(OS_ANDROID)
void CreatePermissionBubble(
content::RenderFrameHost* render_frame_host,
mojo::InterfaceRequest<webusb::WebUsbPermissionBubble> request);
+#endif
private:
explicit UsbTabHelper(content::WebContents* web_contents);
@@ -59,9 +61,11 @@ class UsbTabHelper : public content::WebContentsObserver,
content::RenderFrameHost* render_frame_host,
mojo::InterfaceRequest<device::usb::PermissionProvider> request);
+#if !defined(OS_ANDROID)
void GetPermissionBubble(
content::RenderFrameHost* render_frame_host,
mojo::InterfaceRequest<webusb::WebUsbPermissionBubble> request);
+#endif
FrameUsbServicesMap frame_usb_services_;

Powered by Google App Engine
This is Rietveld 408576698