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

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

Issue 486383002: Pepper: Make trusted plugin channel sync again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 c0b4031eb2331e7ff73140a50b675edcda4a1b0b..cba26d65475b107dccc5a30b77fceede50582ab0 100644
--- a/components/nacl/renderer/trusted_plugin_channel.h
+++ b/components/nacl/renderer/trusted_plugin_channel.h
@@ -8,22 +8,24 @@
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "ipc/ipc_listener.h"
+#include "ppapi/c/pp_instance.h"
namespace base {
class WaitableEvent;
} // namespace base
namespace IPC {
-class ChannelProxy;
struct ChannelHandle;
class Message;
+class SyncChannel;
} // namespace IPC
namespace nacl {
class TrustedPluginChannel : public IPC::Listener {
public:
- explicit TrustedPluginChannel(const IPC::ChannelHandle& handle);
+ TrustedPluginChannel(const IPC::ChannelHandle& handle,
+ base::WaitableEvent* shutdown_event);
virtual ~TrustedPluginChannel();
bool Send(IPC::Message* message);
@@ -32,7 +34,7 @@ class TrustedPluginChannel : public IPC::Listener {
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
private:
- scoped_ptr<IPC::ChannelProxy> channel_proxy_;
+ scoped_ptr<IPC::SyncChannel> channel_;
DISALLOW_COPY_AND_ASSIGN(TrustedPluginChannel);
};
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | components/nacl/renderer/trusted_plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698