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

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

Issue 701443004: Linux sandbox: change the return type of HandleRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add blank line in header file. 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/bpf_dsl/bpf_dsl_more_unittest.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 04c20ed5a1b8615a7c90c9f0c7ae0837babbdb33..c6612791cf77626b11f3ae6eb3bc2ce976b6c6d5 100644
--- a/sandbox/linux/syscall_broker/broker_host.h
+++ b/sandbox/linux/syscall_broker/broker_host.h
@@ -18,10 +18,12 @@ class BrokerPolicy;
// |ipc_channel| according to |broker_policy|.
class BrokerHost {
public:
+ enum class RequestStatus { LOST_CLIENT = 0, SUCCESS, FAILURE };
+
BrokerHost(const BrokerPolicy& broker_policy, int ipc_channel);
~BrokerHost();
- bool HandleRequest() const;
+ RequestStatus HandleRequest() const;
private:
const BrokerPolicy& broker_policy_;
« no previous file with comments | « sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc ('k') | sandbox/linux/syscall_broker/broker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698