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

Unified Diff: chromeos/dbus/fake_permission_broker_client.h

Issue 960033002: Add firewall methods to chromeos::PermissionBrokerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chromeos/dbus/fake_permission_broker_client.h
diff --git a/chromeos/dbus/fake_permission_broker_client.h b/chromeos/dbus/fake_permission_broker_client.h
index 2c475ac0270d78f1bbb1f54ec011fe9b34a47585..4f7fff469922d7455ec641e2e3a048ddc9826664 100644
--- a/chromeos/dbus/fake_permission_broker_client.h
+++ b/chromeos/dbus/fake_permission_broker_client.h
@@ -20,6 +20,20 @@ class FakePermissionBrokerClient : public PermissionBrokerClient {
void RequestPathAccess(const std::string& path,
int interface_id,
const ResultCallback& callback) override;
+ void RequestTcpPortAccess(uint16 port,
+ const std::string& interface,
+ const dbus::FileDescriptor& lifeline_fd,
+ const ResultCallback& callback) override;
+ void RequestUdpPortAccess(uint16 port,
+ const std::string& interface,
+ const dbus::FileDescriptor& lifeline_fd,
+ const ResultCallback& callback) override;
+ void ReleaseTcpPort(uint16 port,
+ const std::string& interface,
+ const ResultCallback& callback) override;
+ void ReleaseUdpPort(uint16 port,
+ const std::string& interface,
+ const ResultCallback& callback) override;
private:
DISALLOW_COPY_AND_ASSIGN(FakePermissionBrokerClient);
« no previous file with comments | « no previous file | chromeos/dbus/fake_permission_broker_client.cc » ('j') | chromeos/dbus/permission_broker_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698