Invoke RequestPathAccess implicitly in UsbDevice::Open.
commitfb5ccfe3a075c08c1ed886898339af3287800a4f
authorreillyg <reillyg@chromium.org>
Thu, 4 Jun 2015 15:15:21 +0000 (4 08:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Jun 2015 15:16:00 +0000 (4 15:16 +0000)
tree2f986637cbb203ed4b9e05d98f01ff6296a2dea7
parentcbd48d197363d75fc05465698655f668cb3952ef
Invoke RequestPathAccess implicitly in UsbDevice::Open.

In preparation for changing how USB device access is granted this patch
makes the call to request access to the USB device node implicit in the
call to open the device.

BUG=496469

Review URL: https://codereview.chromium.org/1147213006

Cr-Commit-Position: refs/heads/master@{#332831}
chrome/browser/devtools/device/usb/android_usb_device.cc
device/usb/usb_device.cc
device/usb/usb_device.h
device/usb/usb_device_impl.cc
device/usb/usb_device_impl.h
extensions/browser/api/usb/usb_api.cc
extensions/browser/api/usb/usb_api.h