Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4805)

Unified Diff: chrome/browser/usb/usb_tab_helper.h

Issue 2821723002: Move classes in the device.usb Mojo namespace to device.mojom (Closed)
Patch Set: mcasas@ nits Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/usb/usb_chooser_controller_unittest.cc ('k') | chrome/browser/usb/usb_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/usb/usb_chooser_controller_unittest.cc ('k') | chrome/browser/usb/usb_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698