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

Unified Diff: sandbox/linux/syscall_broker/broker_host.h

Issue 717673002: Linux sandbox: introduce BrokerChannel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename GetPair to CreatePair. Created 6 years, 1 month 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 | « sandbox/linux/syscall_broker/broker_client.cc ('k') | sandbox/linux/syscall_broker/broker_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/syscall_broker/broker_host.h
diff --git a/sandbox/linux/syscall_broker/broker_host.h b/sandbox/linux/syscall_broker/broker_host.h
index c6612791cf77626b11f3ae6eb3bc2ce976b6c6d5..9866507d1c6f4312ff37a25a4b28811eba8975c0 100644
--- a/sandbox/linux/syscall_broker/broker_host.h
+++ b/sandbox/linux/syscall_broker/broker_host.h
@@ -6,6 +6,7 @@
#define SANDBOX_LINUX_SYSCALL_BROKER_BROKER_HOST_H_
#include "base/macros.h"
+#include "sandbox/linux/syscall_broker/broker_channel.h"
namespace sandbox {
@@ -20,14 +21,16 @@ class BrokerHost {
public:
enum class RequestStatus { LOST_CLIENT = 0, SUCCESS, FAILURE };
- BrokerHost(const BrokerPolicy& broker_policy, int ipc_channel);
+ BrokerHost(const BrokerPolicy& broker_policy,
+ BrokerChannel::EndPoint ipc_channel);
~BrokerHost();
RequestStatus HandleRequest() const;
private:
const BrokerPolicy& broker_policy_;
- const int ipc_channel_;
+ const BrokerChannel::EndPoint ipc_channel_;
+
DISALLOW_COPY_AND_ASSIGN(BrokerHost);
};
« no previous file with comments | « sandbox/linux/syscall_broker/broker_client.cc ('k') | sandbox/linux/syscall_broker/broker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698