Index: components/nacl/loader/nacl_listener.h |
diff --git a/components/nacl/loader/nacl_listener.h b/components/nacl/loader/nacl_listener.h |
index 31a0048a0fbff2d54c8119c2720386b564378ae8..0e335a42338b5afcf446a74d4ea6889b049837c0 100644 |
--- a/components/nacl/loader/nacl_listener.h |
+++ b/components/nacl/loader/nacl_listener.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/shared_memory.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/threading/thread.h" |
#include "components/nacl/common/nacl_types.h" |
@@ -45,6 +46,8 @@ class NaClListener : public IPC::Listener { |
} |
#endif |
+ void* crash_info_shmem_memory() const { return crash_info_shmem_->memory(); } |
+ |
private: |
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
@@ -71,6 +74,8 @@ class NaClListener : public IPC::Listener { |
int number_of_cores_; |
#endif |
+ scoped_ptr<base::SharedMemory> crash_info_shmem_; |
+ |
scoped_refptr<NaClTrustedListener> trusted_listener_; |
// Used to identify what thread we're on. |