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

Unified Diff: components/nacl/loader/nacl_listener.h

Issue 1184523003: attachment broker wip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor comments. Created 5 years, 6 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_ipc_adapter.cc ('k') | components/nacl/loader/nacl_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_listener.h
diff --git a/components/nacl/loader/nacl_listener.h b/components/nacl/loader/nacl_listener.h
index 883f616f70f0feeb0e3f8851d9d8cbd96cf6a6fc..2d1c773e897d9980e2d13475ce83ac176294c944 100644
--- a/components/nacl/loader/nacl_listener.h
+++ b/components/nacl/loader/nacl_listener.h
@@ -17,6 +17,7 @@
#include "ipc/ipc_listener.h"
namespace IPC {
+class AttachmentBroker;
class SyncChannel;
class SyncMessageFilter;
}
@@ -25,7 +26,8 @@ class SyncMessageFilter;
// request to start a NaCl module.
class NaClListener : public IPC::Listener {
public:
- NaClListener();
+ // |broker| must outlive NaClListener.
+ NaClListener(IPC::AttachmentBroker* broker);
~NaClListener() override;
// Listen for a request to launch a NaCl module.
void Listen();
@@ -82,6 +84,7 @@ class NaClListener : public IPC::Listener {
base::WaitableEvent shutdown_event_;
base::Thread io_thread_;
+ IPC::AttachmentBroker* broker_;
#if defined(OS_LINUX)
size_t prereserved_sandbox_size_;
« no previous file with comments | « components/nacl/loader/nacl_ipc_adapter.cc ('k') | components/nacl/loader/nacl_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698