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

Side by Side Diff: sandbox/linux/syscall_broker/broker_host.h

Issue 688843003: Linux sandbox: refactor BrokerProcess class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SANDBOX_LINUX_SYSCALL_BROKER_BROKER_HOST_H_
6 #define SANDBOX_LINUX_SYSCALL_BROKER_BROKER_HOST_H_
7
8 #include "base/macros.h"
9
10 namespace sandbox {
11
12 namespace syscall_broker {
13
14 class BrokerPolicy;
15
16 class BrokerHost {
17 public:
18 BrokerHost(const BrokerPolicy& broker_policy, int ipc_channel);
19 ~BrokerHost();
20
21 bool HandleRequest() const;
22
23 private:
24 const BrokerPolicy& broker_policy_;
25 const int ipc_channel_;
26 DISALLOW_COPY_AND_ASSIGN(BrokerHost);
27 };
28
29 } // namespace syscall_broker
30
31 } // namespace sandbox
32
33 #endif // SANDBOX_LINUX_SYSCALL_BROKER_BROKER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698