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

Unified Diff: mojo/system/core_impl.h

Issue 220113003: Mojo: Implement MojoUnmapBuffer(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | « mojo/system/constants.h ('k') | mojo/system/core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/core_impl.h
diff --git a/mojo/system/core_impl.h b/mojo/system/core_impl.h
index 63b4b08b949cb3db330eb8d172b8b61ff640873a..e0cbd1e3951cd2cc06aaf27c9d117a0829f2aa1a 100644
--- a/mojo/system/core_impl.h
+++ b/mojo/system/core_impl.h
@@ -11,6 +11,7 @@
#include "base/synchronization/lock.h"
#include "mojo/public/system/core_private.h"
#include "mojo/system/handle_table.h"
+#include "mojo/system/mapping_table.h"
#include "mojo/system/system_impl_export.h"
namespace mojo {
@@ -138,6 +139,9 @@ class MOJO_SYSTEM_IMPL_EXPORT CoreImpl : public Core {
base::Lock handle_table_lock_; // Protects |handle_table_|.
HandleTable handle_table_;
+ base::Lock mapping_table_lock_; // Protects |mapping_table_|.
+ MappingTable mapping_table_;
+
// ---------------------------------------------------------------------------
DISALLOW_COPY_AND_ASSIGN(CoreImpl);
« no previous file with comments | « mojo/system/constants.h ('k') | mojo/system/core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698