Chromium Code Reviews| Index: chrome/browser/usb/usb_chooser_context.h |
| diff --git a/chrome/browser/usb/usb_chooser_context.h b/chrome/browser/usb/usb_chooser_context.h |
| index 3fa604f7470adc0b021e7624ad1dfc9321073eb8..df1e3803c652e84190ba4dfc5b9d35f35358b20c 100644 |
| --- a/chrome/browser/usb/usb_chooser_context.h |
| +++ b/chrome/browser/usb/usb_chooser_context.h |
| @@ -17,9 +17,7 @@ |
| #include "device/usb/usb_service.h" |
| namespace device { |
| -namespace usb { |
| -class DeviceInfo; |
| -} |
| +class UsbDevice; |
| } |
| class UsbChooserContext : public ChooserContextBase, |
| @@ -49,7 +47,7 @@ class UsbChooserContext : public ChooserContextBase, |
| // access to a device with |device_info|. |
| bool HasDevicePermission(const GURL& requesting_origin, |
| const GURL& embedding_origin, |
| - const device::usb::DeviceInfo& device_info); |
| + scoped_refptr<const device::UsbDevice> device_info); |
|
juncai
2016/04/01 17:05:24
change device_info parameter name to device since
Reilly Grant (use Gerrit)
2016/04/01 21:56:33
Fixed.
|
| private: |
| // ChooserContextBase implementation. |