Lines Matching defs:usb_device
17 #include "chrome/browser/usb/usb_device.h"
50 scoped_refptr<UsbDeviceHandle> usb_device,
85 if (!usb_device->ClaimInterface(interface_id))
89 if (!usb_device->GetSerial(&serial) || serial.empty())
92 return new AndroidUsbDevice(rsa_key, usb_device, UTF16ToASCII(serial),
166 UsbDevice* usb_device = it2->get();
168 if (usb_device == device->usb_device()->device()) {
170 claimed_devices.insert(usb_device);
191 scoped_refptr<UsbDeviceHandle> usb_device = (*it)->Open();
192 if (!usb_device)
198 ClaimInterface(rsa_key, usb_device, config->GetInterface(j), j);
205 usb_device->Close();
233 scoped_refptr<UsbDeviceHandle> usb_device,
240 usb_device_(usb_device),