summaryrefslogtreecommitdiffstats
path: root/chromeos/BUILD.gn
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2015-04-07 15:49:58 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-07 22:50:33 +0000
commit556a9e9fddcc48e9b9650f2ac4a413ce4705efdf (patch)
tree670041bf13e18c4a98716581da2f5e740827e443 /chromeos/BUILD.gn
parentd6aece7c6748553aa11b9dbacd27b5ec4d2d363c (diff)
downloadchromium_src-556a9e9fddcc48e9b9650f2ac4a413ce4705efdf.zip
chromium_src-556a9e9fddcc48e9b9650f2ac4a413ce4705efdf.tar.gz
chromium_src-556a9e9fddcc48e9b9650f2ac4a413ce4705efdf.tar.bz2
Check USB device path access when prompting users to select a device.
Use the permission_broker's new CheckPathAccess method to filter devices presented to the user by whether or not Chrome will be able to open them later. By having FakePermissionBrokerClient and the base UsbDevice class always return true to access requests a number of #if defined(OS_CHROMEOS) checks can be removed. //third_party/cros_system_api is rolled from 95c486f3 to aea83430 to pull in the new kCheckPathAccess definition in service_constants.h. BUG=441526 Review URL: https://codereview.chromium.org/1034333002 Cr-Commit-Position: refs/heads/master@{#324139}
Diffstat (limited to 'chromeos/BUILD.gn')
-rw-r--r--chromeos/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/chromeos/BUILD.gn b/chromeos/BUILD.gn
index 40823e6..afa1728 100644
--- a/chromeos/BUILD.gn
+++ b/chromeos/BUILD.gn
@@ -66,6 +66,8 @@ static_library("test_support") {
"dbus/mock_cryptohome_client.h",
"dbus/mock_lorgnette_manager_client.cc",
"dbus/mock_lorgnette_manager_client.h",
+ "dbus/mock_permission_broker_client.cc",
+ "dbus/mock_permission_broker_client.h",
"dbus/mock_session_manager_client.cc",
"dbus/mock_session_manager_client.h",
"dbus/mock_shill_manager_client.cc",