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

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

Issue 469423002: NaCl: Send fatal log messages via shared memory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove commented out line 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/common/nacl_types.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 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.
« no previous file with comments | « components/nacl/common/nacl_types.cc ('k') | components/nacl/loader/nacl_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698