Index: chrome/nacl/nacl_ipc_manager.h |
=================================================================== |
--- chrome/nacl/nacl_ipc_manager.h (revision 135227) |
+++ chrome/nacl/nacl_ipc_manager.h (working copy) |
@@ -10,6 +10,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/synchronization/lock.h" |
+#include "base/threading/thread.h" |
dmichael (off chromium)
2012/05/07 20:30:19
Should you instead be adding base/message_loop_pro
bbudge
2012/05/07 21:39:18
Done.
|
#include "ipc/ipc_channel_handle.h" |
class NaClIPCAdapter; |
@@ -25,6 +26,8 @@ |
NaClIPCManager(); |
~NaClIPCManager(); |
+ void Init(scoped_refptr<base::MessageLoopProxy> message_loop_proxy); |
+ |
// Creates a nacl channel associated with the given channel handle (normally |
// this will come from the browser process). Returns the handle that should |
// be given to nacl to associated with this IPC channel. |
@@ -46,6 +49,8 @@ |
// failures. |
scoped_refptr<NaClIPCAdapter> GetAdapter(void* handle); |
+ scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; |
+ |
// Lock around all data below. |
base::Lock lock_; |