Index: base/memory/shared_memory.h |
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h |
index d1be55b8cb9d3246fc7d0c76ae07f3459036140b..154d808cc8cd71bbd13ba531e9a6643ecd5b6f89 100644 |
--- a/base/memory/shared_memory.h |
+++ b/base/memory/shared_memory.h |
@@ -215,17 +215,6 @@ class BASE_EXPORT SharedMemory { |
// failure. |
SharedMemoryHandle GetReadOnlyHandle(); |
- // Shares the shared memory to another process. Attempts |
- // to create a platform-specific new_handle which can be |
- // used in a remote process to access the shared memory |
- // file. new_handle is an output parameter to receive |
- // the handle for use in the remote process. |
- // Returns true on success, false otherwise. |
- bool ShareToProcess(ProcessHandle process, |
- SharedMemoryHandle* new_handle) { |
- return ShareToProcessCommon(process, new_handle); |
- } |
- |
#if defined(OS_POSIX) && (!defined(OS_MACOSX) || defined(OS_IOS)) && \ |
!defined(OS_NACL) |
using UniqueId = std::pair<dev_t, ino_t>; |
@@ -247,13 +236,6 @@ class BASE_EXPORT SharedMemory { |
bool FilePathForMemoryName(const std::string& mem_name, FilePath* path); |
#endif |
-#if defined(OS_MACOSX) |
- bool Share(SharedMemoryHandle* new_handle); |
-#endif |
- |
- bool ShareToProcessCommon(ProcessHandle process, |
- SharedMemoryHandle* new_handle); |
- |
#if defined(OS_WIN) |
// If true indicates this came from an external source so needs extra checks |
// before being mapped. |