summaryrefslogtreecommitdiffstats
path: root/base/memory/shared_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/memory/shared_memory.h')
-rw-r--r--base/memory/shared_memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
index 18416c0..5cdcb0d 100644
--- a/base/memory/shared_memory.h
+++ b/base/memory/shared_memory.h
@@ -140,6 +140,10 @@ class BASE_EXPORT SharedMemory {
// http://crbug.com/466437.
bool CreateAndMapAnonymousPosix(size_t size);
bool CreateAnonymousPosix(size_t size);
+
+ // This method is an analog of CreateAndMapAnonymous that forces the
+ // underlying OS primitive to be a Mach memory object.
+ bool CreateAndMapAnonymousMach(size_t size);
#endif // defined(OS_MACOSX) && !defined(OS_IOS)
// Creates an anonymous shared memory segment of size size.