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

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

Issue 1742753002: Rename web_usb_permission_bubble.cc/h and webusb_permission_bubble.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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_bubble_controller.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 688f50134a39e42ec7acb701f547bb90f4d43434..1771981b16dd76a1dc8d8cb5374271789997dd82 100644
--- a/chrome/browser/usb/usb_tab_helper.h
+++ b/chrome/browser/usb/usb_tab_helper.h
@@ -14,15 +14,12 @@
namespace device {
namespace usb {
+class ChooserService;
class DeviceManager;
class PermissionProvider;
}
}
-namespace webusb {
-class WebUsbPermissionBubble;
-}
-
struct FrameUsbServices;
typedef std::map<content::RenderFrameHost*, scoped_ptr<FrameUsbServices>>
@@ -42,9 +39,9 @@ class UsbTabHelper : public content::WebContentsObserver,
mojo::InterfaceRequest<device::usb::DeviceManager> request);
#if !defined(OS_ANDROID)
- void CreatePermissionBubble(
+ void CreateChooserService(
content::RenderFrameHost* render_frame_host,
- mojo::InterfaceRequest<webusb::WebUsbPermissionBubble> request);
+ mojo::InterfaceRequest<device::usb::ChooserService> request);
#endif // !defined(OS_ANDROID)
private:
@@ -61,9 +58,9 @@ class UsbTabHelper : public content::WebContentsObserver,
content::RenderFrameHost* render_frame_host);
#if !defined(OS_ANDROID)
- void GetPermissionBubble(
+ void GetChooserService(
content::RenderFrameHost* render_frame_host,
- mojo::InterfaceRequest<webusb::WebUsbPermissionBubble> request);
+ mojo::InterfaceRequest<device::usb::ChooserService> request);
#endif // !defined(OS_ANDROID)
FrameUsbServicesMap frame_usb_services_;
« no previous file with comments | « chrome/browser/usb/usb_chooser_bubble_controller.cc ('k') | chrome/browser/usb/usb_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698