| Index: device/usb/mojo/device_impl.h
|
| diff --git a/device/usb/mojo/device_impl.h b/device/usb/mojo/device_impl.h
|
| index 8ec722a478b916fde68a75f75358deedd2c305bc..493a98c306f247ddf4333c9ee6c98daf0291432a 100644
|
| --- a/device/usb/mojo/device_impl.h
|
| +++ b/device/usb/mojo/device_impl.h
|
| @@ -17,8 +17,8 @@
|
| #include "device/usb/public/interfaces/device.mojom.h"
|
| #include "device/usb/usb_device.h"
|
| #include "device/usb/usb_device_handle.h"
|
| +#include "mojo/public/cpp/bindings/binding.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
| -#include "mojo/public/cpp/bindings/strong_binding.h"
|
|
|
| namespace net {
|
| class IOBuffer;
|
| @@ -37,7 +37,7 @@ class DeviceImpl : public Device, public device::UsbDevice::Observer {
|
| DeviceImpl(scoped_refptr<UsbDevice> device,
|
| DeviceInfoPtr device_info,
|
| base::WeakPtr<PermissionProvider> permission_provider,
|
| - mojo::InterfaceRequest<Device> request);
|
| + DeviceRequest request);
|
| ~DeviceImpl() override;
|
|
|
| private:
|
| @@ -110,7 +110,7 @@ class DeviceImpl : public Device, public device::UsbDevice::Observer {
|
| // has been closed.
|
| scoped_refptr<UsbDeviceHandle> device_handle_;
|
|
|
| - mojo::StrongBinding<Device> binding_;
|
| + mojo::Binding<Device> binding_;
|
| base::WeakPtrFactory<DeviceImpl> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DeviceImpl);
|
|
|