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

Unified Diff: components/nacl/loader/nacl_trusted_listener.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
« no previous file with comments | « components/nacl/loader/nacl_listener.cc ('k') | components/nacl/loader/nacl_trusted_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_trusted_listener.h
diff --git a/components/nacl/loader/nacl_trusted_listener.h b/components/nacl/loader/nacl_trusted_listener.h
index bb66b42a3e5e6a50065048132d768f1e98287275..75d755178560b795449a26ad6883338abf25d9e8 100644
--- a/components/nacl/loader/nacl_trusted_listener.h
+++ b/components/nacl/loader/nacl_trusted_listener.h
@@ -7,8 +7,8 @@
#include "base/memory/ref_counted.h"
#include "ipc/ipc_channel_handle.h"
-#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_listener.h"
+#include "ipc/ipc_sync_channel.h"
namespace base {
class SingleThreadTaskRunner;
@@ -18,7 +18,8 @@ class NaClTrustedListener : public base::RefCounted<NaClTrustedListener>,
public IPC::Listener {
public:
NaClTrustedListener(const IPC::ChannelHandle& handle,
- base::SingleThreadTaskRunner* ipc_task_runner);
+ base::SingleThreadTaskRunner* ipc_task_runner,
+ base::WaitableEvent* shutdown_event);
IPC::ChannelHandle TakeClientChannelHandle();
@@ -32,7 +33,7 @@ class NaClTrustedListener : public base::RefCounted<NaClTrustedListener>,
friend class base::RefCounted<NaClTrustedListener>;
virtual ~NaClTrustedListener();
IPC::ChannelHandle channel_handle_;
- scoped_ptr<IPC::ChannelProxy> channel_proxy_;
+ scoped_ptr<IPC::SyncChannel> channel_;
DISALLOW_COPY_AND_ASSIGN(NaClTrustedListener);
};
« no previous file with comments | « components/nacl/loader/nacl_listener.cc ('k') | components/nacl/loader/nacl_trusted_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698