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

Unified Diff: base/memory/shared_memory.h

Issue 2567293003: Add a macro for SharedMemory::Share (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory.h
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
index e88568c92445af78d9ca3a116722a0ececfd2cfe..3c68e90a031ff476dd7585b4d6653cc92e7b7643 100644
--- a/base/memory/shared_memory.h
+++ b/base/memory/shared_memory.h
@@ -266,7 +266,9 @@ class BASE_EXPORT SharedMemory {
SHARE_CURRENT_MODE,
};
+#if defined(OS_MACOSX)
bool Share(SharedMemoryHandle* new_handle, ShareMode share_mode);
+#endif
bool ShareToProcessCommon(ProcessHandle process,
SharedMemoryHandle* new_handle,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698