summaryrefslogtreecommitdiffstats
path: root/device/device_tests.gyp
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2015-09-29 14:30:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-29 21:31:20 +0000
commit83746f46774aef7ca1b7b5ef33d49a6bc90d24e2 (patch)
treeabce4101076492edd0a4f0b9d31167cce6a531f7 /device/device_tests.gyp
parent7063a5a55f1f116847b93b19088669e718e2e1f8 (diff)
downloadchromium_src-83746f46774aef7ca1b7b5ef33d49a6bc90d24e2.zip
chromium_src-83746f46774aef7ca1b7b5ef33d49a6bc90d24e2.tar.gz
chromium_src-83746f46774aef7ca1b7b5ef33d49a6bc90d24e2.tar.bz2
Add configuration and interface permission checks to DeviceImpl.
New methods to check whether a client has permission to access a device configuration or interface have been added to the PermissionProvider interface. DeviceManagerImpl then uses the new Bind() method to give DeviceImpl a new pointer to the object it has been using for permission checks. Permission checks are not required for bulk, interrupt and isochronous transfers because they require the interface to be claimed first. BUG=492204 Review URL: https://codereview.chromium.org/1369643002 Cr-Commit-Position: refs/heads/master@{#351408}
Diffstat (limited to 'device/device_tests.gyp')
-rw-r--r--device/device_tests.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/device/device_tests.gyp b/device/device_tests.gyp
index 864a320..051703a 100644
--- a/device/device_tests.gyp
+++ b/device/device_tests.gyp
@@ -62,6 +62,8 @@
'bluetooth/test/test_bluetooth_adapter_observer.h',
'devices_app/usb/device_impl_unittest.cc',
'devices_app/usb/device_manager_impl_unittest.cc',
+ 'devices_app/usb/fake_permission_provider.cc',
+ 'devices_app/usb/fake_permission_provider.h',
'hid/hid_connection_unittest.cc',
'hid/hid_device_filter_unittest.cc',
'hid/hid_report_descriptor_unittest.cc',