summaryrefslogtreecommitdiffstats
path: root/base/shared_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/shared_memory.h')
-rw-r--r--base/shared_memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/shared_memory.h b/base/shared_memory.h
index a368d9f..ea72069 100644
--- a/base/shared_memory.h
+++ b/base/shared_memory.h
@@ -61,6 +61,9 @@ class SharedMemory {
// Return invalid handle (see comment above for exact definition).
static SharedMemoryHandle NULLHandle();
+ // Close a shared memory handle.
+ static void CloseHandle(const SharedMemoryHandle& handle);
+
// Creates or opens a shared memory segment based on a name.
// If read_only is true, opens the memory as read-only.
// If open_existing is true, and the shared memory already exists,