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

Unified Diff: components/nacl/renderer/trusted_plugin_channel.h

Issue 484783002: Pepper: Report NaCl exit status over Chromium IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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
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..ba6ec65ced359f53b666839faefc7f41915b43fc 100644
--- a/components/nacl/renderer/trusted_plugin_channel.h
+++ b/components/nacl/renderer/trusted_plugin_channel.h
@@ -24,7 +24,8 @@ namespace nacl {
class TrustedPluginChannel : public IPC::Listener {
public:
- TrustedPluginChannel(const IPC::ChannelHandle& handle,
+ TrustedPluginChannel(PP_Instance instance,
+ const IPC::ChannelHandle& handle,
base::WaitableEvent* shutdown_event);
virtual ~TrustedPluginChannel();
@@ -33,7 +34,10 @@ class TrustedPluginChannel : public IPC::Listener {
// Listener implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+ void OnReportExitStatus(int exit_status);
+
private:
+ PP_Instance instance_;
scoped_ptr<IPC::SyncChannel> channel_;
DISALLOW_COPY_AND_ASSIGN(TrustedPluginChannel);

Powered by Google App Engine
This is Rietveld 408576698