summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/permission_broker_client.h
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2016-02-09 16:07:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-10 00:09:43 +0000
commit3497c50c52256d5f397579faf9c983d835c38d1d (patch)
tree857aa53608fbe6259256abfc7b6334a51f26971c /chromeos/dbus/permission_broker_client.h
parent6d580816be15661d4b5153ec19bc2500f774dc8b (diff)
downloadchromium_src-3497c50c52256d5f397579faf9c983d835c38d1d.zip
chromium_src-3497c50c52256d5f397579faf9c983d835c38d1d.tar.gz
chromium_src-3497c50c52256d5f397579faf9c983d835c38d1d.tar.bz2
Remove chromeos::PermissionBrokerClient::RequestPathAccess().
This method has been completely replaced by OpenPath(). BUG=None Review URL: https://codereview.chromium.org/1686823002 Cr-Commit-Position: refs/heads/master@{#374540}
Diffstat (limited to 'chromeos/dbus/permission_broker_client.h')
-rw-r--r--chromeos/dbus/permission_broker_client.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/chromeos/dbus/permission_broker_client.h b/chromeos/dbus/permission_broker_client.h
index 87c24c8..276bfba 100644
--- a/chromeos/dbus/permission_broker_client.h
+++ b/chromeos/dbus/permission_broker_client.h
@@ -45,16 +45,6 @@ class CHROMEOS_EXPORT PermissionBrokerClient : public DBusClient {
virtual void CheckPathAccess(const std::string& path,
const ResultCallback& callback) = 0;
- // RequestPathAccess requests access to a single device node identified by
- // |path|. If |interface_id| value is passed (different than
- // UsbDevicePermissionData::ANY_INTERFACE), the request will check if a
- // specific interface is claimed while requesting access.
- // This allows devices with multiple interfaces to be accessed even if
- // some of them are already claimed by kernel.
- virtual void RequestPathAccess(const std::string& path,
- int interface_id,
- const ResultCallback& callback) = 0;
-
// OpenPath requests that the permission broker open the device node
// identified by |path| and return the resulting file descriptor.
virtual void OpenPath(const std::string& path,