| Index: components/nacl/renderer/trusted_plugin_channel.h
|
| diff --git a/components/nacl/renderer/trusted_plugin_channel.h b/components/nacl/renderer/trusted_plugin_channel.h
|
| index cba26d65475b107dccc5a30b77fceede50582ab0..fd261aa70c5d61aceaf1c72765c7e27bc7fdd433 100644
|
| --- a/components/nacl/renderer/trusted_plugin_channel.h
|
| +++ b/components/nacl/renderer/trusted_plugin_channel.h
|
| @@ -21,11 +21,14 @@ class SyncChannel;
|
| } // namespace IPC
|
|
|
| namespace nacl {
|
| +class NexeLoadManager;
|
|
|
| class TrustedPluginChannel : public IPC::Listener {
|
| public:
|
| - TrustedPluginChannel(const IPC::ChannelHandle& handle,
|
| - base::WaitableEvent* shutdown_event);
|
| + TrustedPluginChannel(NexeLoadManager* nexe_load_manager,
|
| + const IPC::ChannelHandle& handle,
|
| + base::WaitableEvent* shutdown_event,
|
| + bool report_exit_status);
|
| virtual ~TrustedPluginChannel();
|
|
|
| bool Send(IPC::Message* message);
|
| @@ -33,8 +36,14 @@ class TrustedPluginChannel : public IPC::Listener {
|
| // Listener implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|
| + void OnReportExitStatus(int exit_status);
|
| +
|
| private:
|
| + // Non-owning pointer. This is safe because the TrustedPluginChannel is owned
|
| + // by the NexeLoadManager pointed to here.
|
| + NexeLoadManager* nexe_load_manager_;
|
| scoped_ptr<IPC::SyncChannel> channel_;
|
| + bool report_exit_status_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TrustedPluginChannel);
|
| };
|
|
|