Chromium Code Reviews| Index: chrome/nacl/nacl_broker_listener.h |
| =================================================================== |
| --- chrome/nacl/nacl_broker_listener.h (revision 189099) |
| +++ chrome/nacl/nacl_broker_listener.h (working copy) |
| @@ -8,6 +8,7 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "base/process.h" |
| #include "chrome/common/nacl_types.h" |
| +#include "content/public/common/sandboxed_process_launcher_delegate.h" |
| #include "ipc/ipc_listener.h" |
| namespace IPC { |
| @@ -16,13 +17,18 @@ |
| // The BrokerThread class represents the thread that handles the messages from |
| // the browser process and starts NaCl loader processes. |
| -class NaClBrokerListener : public IPC::Listener { |
| +class NaClBrokerListener : public content::SandboxedProcessLauncherDelegate, |
| + public IPC::Listener { |
| public: |
| NaClBrokerListener(); |
| ~NaClBrokerListener(); |
| void Listen(); |
| + // content::SandboxedProcessLauncherDelegate implementation: |
| + virtual void PreSpawnTarget(sandbox::TargetPolicy* policy, |
| + bool* success); |
|
cpu_(ooo_6.6-7.5)
2013/03/19 21:25:48
OVERRIDE
|
| + |
| // IPC::Listener implementation. |
| virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; |
| virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |