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

Unified Diff: chromeos/dbus/permission_broker_client.h

Issue 1686823002: Remove chromeos::PermissionBrokerClient::RequestPathAccess(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « chromeos/dbus/mock_permission_broker_client.h ('k') | chromeos/dbus/permission_broker_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/permission_broker_client.h
diff --git a/chromeos/dbus/permission_broker_client.h b/chromeos/dbus/permission_broker_client.h
index 87c24c878562fbea9246a0e274d988e0ea81273e..276bfba46cd630c727bdec0501a626a6dc40b1dd 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,
« no previous file with comments | « chromeos/dbus/mock_permission_broker_client.h ('k') | chromeos/dbus/permission_broker_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698