summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_device_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chrome_device_client.cc')
-rw-r--r--chrome/browser/chrome_device_client.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/chrome_device_client.cc b/chrome/browser/chrome_device_client.cc
index e3ffbe7..b388d97 100644
--- a/chrome/browser/chrome_device_client.cc
+++ b/chrome/browser/chrome_device_client.cc
@@ -26,9 +26,11 @@ device::UsbService* ChromeDeviceClient::GetUsbService() {
device::HidService* ChromeDeviceClient::GetHidService() {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
+#if !defined(OS_ANDROID)
if (!hid_service_) {
hid_service_ = device::HidService::Create(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
}
+#endif
return hid_service_.get();
}