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

Unified Diff: chrome/browser/usb/web_usb_chooser_service.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_tab_helper.cc ('k') | chrome/browser/usb/web_usb_chooser_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/usb/web_usb_chooser_service.h
diff --git a/chrome/browser/usb/web_usb_chooser_service.h b/chrome/browser/usb/web_usb_chooser_service.h
index 3b4c0b13711bf354af0f6551533efffd03de53e7..9dd7e88c79bcd54ad6929258f6ad29137c7887da 100644
--- a/chrome/browser/usb/web_usb_chooser_service.h
+++ b/chrome/browser/usb/web_usb_chooser_service.h
@@ -20,7 +20,7 @@ class RenderFrameHost;
// Implementation of the public device::usb::ChooserService interface.
// This interface can be used by a webpage to request permission from user
// to access a certain device.
-class WebUsbChooserService : public device::usb::ChooserService {
+class WebUsbChooserService : public device::mojom::UsbChooserService {
public:
explicit WebUsbChooserService(content::RenderFrameHost* render_frame_host);
@@ -30,11 +30,11 @@ class WebUsbChooserService : public device::usb::ChooserService {
void GetPermission(const std::vector<device::UsbDeviceFilter>& device_filters,
const GetPermissionCallback& callback) override;
- void Bind(mojo::InterfaceRequest<device::usb::ChooserService> request);
+ void Bind(device::mojom::UsbChooserServiceRequest request);
private:
content::RenderFrameHost* const render_frame_host_;
- mojo::BindingSet<device::usb::ChooserService> bindings_;
+ mojo::BindingSet<device::mojom::UsbChooserService> bindings_;
std::vector<BubbleReference> bubbles_;
DISALLOW_COPY_AND_ASSIGN(WebUsbChooserService);
« no previous file with comments | « chrome/browser/usb/usb_tab_helper.cc ('k') | chrome/browser/usb/web_usb_chooser_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698