| Index: device/usb/usb_device_impl.h
|
| diff --git a/device/usb/usb_device_impl.h b/device/usb/usb_device_impl.h
|
| index 702b20e6f06e926e463c6e242de771ba4f5bd36f..897b4910fe045d33e37bdf4c3df97057ebc9d7a1 100644
|
| --- a/device/usb/usb_device_impl.h
|
| +++ b/device/usb/usb_device_impl.h
|
| @@ -32,9 +32,10 @@ class UsbDeviceImpl : public UsbDevice {
|
| public:
|
| // UsbDevice implementation:
|
| #if defined(OS_CHROMEOS)
|
| - void RequestUsbAccess(
|
| - int interface_id,
|
| - const base::Callback<void(bool success)>& callback) override;
|
| + // Only overridden on Chrome OS.
|
| + void CheckUsbAccess(const ResultCallback& callback) override;
|
| + void RequestUsbAccess(int interface_id,
|
| + const ResultCallback& callback) override;
|
| #endif // OS_CHROMEOS
|
| scoped_refptr<UsbDeviceHandle> Open() override;
|
| bool Close(scoped_refptr<UsbDeviceHandle> handle) override;
|
|
|