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

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

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: +#endif comment 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
« no previous file with comments | « chrome/browser/usb/usb_tab_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/usb/usb_tab_helper.cc
diff --git a/chrome/browser/usb/usb_tab_helper.cc b/chrome/browser/usb/usb_tab_helper.cc
index b6aa2b7d369b048364ded1b2026964c592333b27..dd2fd8467e4f73f8486d1154ae5e3cfab1e5f3c2 100644
--- a/chrome/browser/usb/usb_tab_helper.cc
+++ b/chrome/browser/usb/usb_tab_helper.cc
@@ -45,11 +45,13 @@ void UsbTabHelper::CreateDeviceManager(
std::move(request));
}
+#if !defined(OS_ANDROID)
void UsbTabHelper::CreatePermissionBubble(
content::RenderFrameHost* render_frame_host,
mojo::InterfaceRequest<webusb::WebUsbPermissionBubble> request) {
GetPermissionBubble(render_frame_host, std::move(request));
}
+#endif // !defined(OS_ANDROID)
UsbTabHelper::UsbTabHelper(WebContents* web_contents)
: content::WebContentsObserver(web_contents) {}
@@ -82,6 +84,7 @@ void UsbTabHelper::GetPermissionProvider(
frame_usb_services->permission_provider->Bind(std::move(request));
}
+#if !defined(OS_ANDROID)
void UsbTabHelper::GetPermissionBubble(
content::RenderFrameHost* render_frame_host,
mojo::InterfaceRequest<webusb::WebUsbPermissionBubble> request) {
@@ -92,3 +95,4 @@ void UsbTabHelper::GetPermissionBubble(
}
frame_usb_services->permission_bubble->Bind(std::move(request));
}
+#endif // !defined(OS_ANDROID)
« no previous file with comments | « chrome/browser/usb/usb_tab_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698