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

Unified Diff: chromeos/dbus/permission_broker_client.cc

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/permission_broker_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/permission_broker_client.cc
diff --git a/chromeos/dbus/permission_broker_client.cc b/chromeos/dbus/permission_broker_client.cc
index 5ddf0d47015a28383b288a125592a0a3766ce4ee..fb0c934db1c7175d8c69c0b3675d540bf058c7ff 100644
--- a/chromeos/dbus/permission_broker_client.cc
+++ b/chromeos/dbus/permission_broker_client.cc
@@ -22,7 +22,6 @@ using permission_broker::kPermissionBrokerServiceName;
using permission_broker::kPermissionBrokerServicePath;
using permission_broker::kReleaseTcpPort;
using permission_broker::kReleaseUdpPort;
-using permission_broker::kRequestPathAccess;
using permission_broker::kRequestTcpPortAccess;
using permission_broker::kRequestUdpPortAccess;
@@ -42,20 +41,6 @@ class PermissionBrokerClientImpl : public PermissionBrokerClient {
weak_ptr_factory_.GetWeakPtr(), callback));
}
- void RequestPathAccess(const std::string& path,
- const int interface_id,
- const ResultCallback& callback) override {
- dbus::MethodCall method_call(kPermissionBrokerInterface,
- kRequestPathAccess);
- dbus::MessageWriter writer(&method_call);
- writer.AppendString(path);
- writer.AppendInt32(interface_id);
- proxy_->CallMethod(&method_call,
- dbus::ObjectProxy::TIMEOUT_USE_DEFAULT,
- base::Bind(&PermissionBrokerClientImpl::OnResponse,
- weak_ptr_factory_.GetWeakPtr(), callback));
- }
-
void OpenPath(const std::string& path,
const OpenPathCallback& callback) override {
dbus::MethodCall method_call(kPermissionBrokerInterface, kOpenPath);
« no previous file with comments | « chromeos/dbus/permission_broker_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698