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

Unified Diff: device/devices_app/usb/device_manager_impl.h

Issue 1345793002: Use complete USB DeviceInfo Mojo object to make permission decisions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manager_full_remove
Patch Set: Rebased. Created 5 years, 3 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/web_usb_permission_provider.cc ('k') | device/devices_app/usb/device_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/usb/device_manager_impl.h
diff --git a/device/devices_app/usb/device_manager_impl.h b/device/devices_app/usb/device_manager_impl.h
index b8a65ceda0934fb2032723c0c6e2bb1c75dd5b2e..86554fda68fb6058a7188452336e4e58bdb4bcc0 100644
--- a/device/devices_app/usb/device_manager_impl.h
+++ b/device/devices_app/usb/device_manager_impl.h
@@ -61,6 +61,9 @@ class DeviceManagerImpl : public DeviceManager {
mojo::InterfaceRequest<Device> device_request,
const OpenDeviceCallback& callback) override;
+ void OnGotDeviceInfoForOpen(mojo::InterfaceRequest<Device> device_request,
+ const OpenDeviceCallback& callback,
+ DeviceInfoPtr device_info);
void OnOpenDevicePermissionCheckComplete(
mojo::InterfaceRequest<Device> device_request,
const OpenDeviceCallback& callback,
« no previous file with comments | « chrome/browser/usb/web_usb_permission_provider.cc ('k') | device/devices_app/usb/device_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698