Index: content/renderer/usb/web_usb_device_impl.h |
diff --git a/content/renderer/usb/web_usb_device_impl.h b/content/renderer/usb/web_usb_device_impl.h |
index 7f01d8d758a2d89fedf3801c8272bdc841ebea9e..3f6eab52b1ef55a603a2abc0a82bf71c357b45fc 100644 |
--- a/content/renderer/usb/web_usb_device_impl.h |
+++ b/content/renderer/usb/web_usb_device_impl.h |
@@ -14,7 +14,6 @@ |
#include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" |
#include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" |
#include "third_party/WebKit/public/platform/modules/webusb/WebUSBError.h" |
-#include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h" |
namespace mojo { |
class Shell; |
@@ -22,7 +21,7 @@ class Shell; |
namespace content { |
-class WebUSBDeviceImpl : public blink::WebUSBDevice, public mojo::ErrorHandler { |
+class WebUSBDeviceImpl : public blink::WebUSBDevice { |
public: |
WebUSBDeviceImpl(device::usb::DeviceManagerPtr device_manager, |
const blink::WebUSBDeviceInfo& device_info); |
@@ -62,9 +61,6 @@ class WebUSBDeviceImpl : public blink::WebUSBDevice, public mojo::ErrorHandler { |
blink::WebUSBDeviceBulkTransferCallbacks* callbacks) override; |
void reset(blink::WebUSBDeviceResetCallbacks* callbacks) override; |
- // mojo::ErrorHandler implementation: |
- void OnConnectionError() override; |
- |
device::usb::DeviceManagerPtr device_manager_; |
blink::WebUSBDeviceInfo device_info_; |