Index: chrome/browser/usb/usb_tab_helper.h |
diff --git a/chrome/browser/usb/usb_tab_helper.h b/chrome/browser/usb/usb_tab_helper.h |
index 022a05e56df9f7e0a1c900f1f9ba3b0a301316bc..6a9a361140dc7c5ec85d1941fe43c2b6dd6c05ea 100644 |
--- a/chrome/browser/usb/usb_tab_helper.h |
+++ b/chrome/browser/usb/usb_tab_helper.h |
@@ -13,9 +13,12 @@ |
#include "mojo/public/cpp/bindings/interface_request.h" |
namespace device { |
+namespace mojom { |
+class UsbChooserService; |
+class UsbDeviceManager; |
+} |
+ |
namespace usb { |
-class ChooserService; |
-class DeviceManager; |
class PermissionProvider; |
} |
} |
@@ -36,11 +39,11 @@ class UsbTabHelper : public content::WebContentsObserver, |
void CreateDeviceManager( |
content::RenderFrameHost* render_frame_host, |
- mojo::InterfaceRequest<device::usb::DeviceManager> request); |
+ mojo::InterfaceRequest<device::mojom::UsbDeviceManager> request); |
void CreateChooserService( |
content::RenderFrameHost* render_frame_host, |
- mojo::InterfaceRequest<device::usb::ChooserService> request); |
+ mojo::InterfaceRequest<device::mojom::UsbChooserService> request); |
void IncrementConnectionCount(content::RenderFrameHost* render_frame_host); |
void DecrementConnectionCount(content::RenderFrameHost* render_frame_host); |
@@ -61,7 +64,7 @@ class UsbTabHelper : public content::WebContentsObserver, |
void GetChooserService( |
content::RenderFrameHost* render_frame_host, |
- mojo::InterfaceRequest<device::usb::ChooserService> request); |
+ mojo::InterfaceRequest<device::mojom::UsbChooserService> request); |
void NotifyTabStateChanged() const; |