Index: base/memory/shared_memory.h |
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h |
index 872c38a4798a44a3a67f2200a581b2fbde48310d..61920ab3a0c0f1d0a03badee71cd1875aa7eb458 100644 |
--- a/base/memory/shared_memory.h |
+++ b/base/memory/shared_memory.h |
@@ -234,21 +234,6 @@ class BASE_EXPORT SharedMemory { |
// failure. |
SharedMemoryHandle GetReadOnlyHandle(); |
-#if defined(OS_POSIX) && (!defined(OS_MACOSX) || defined(OS_IOS)) && \ |
- !defined(OS_NACL) |
- using UniqueId = std::pair<dev_t, ino_t>; |
- |
- struct UniqueIdHash { |
- size_t operator()(const UniqueId& id) const { |
- return HashInts(id.first, id.second); |
- } |
- }; |
- |
- // Returns a unique ID for this shared memory's handle. Note this function may |
- // access file system and be slow. |
- bool GetUniqueId(UniqueId* id) const; |
-#endif |
- |
// Returns the last error encountered as a result of a call to Create() or |
// Map(). Note: Currently only errors from Mac POSIX shared memory |
// implementation are fully instrumented. |