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

Unified Diff: base/memory/shared_memory_handle_mac.cc

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: Implement buckets Created 3 years, 11 months 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
Index: base/memory/shared_memory_handle_mac.cc
diff --git a/base/memory/shared_memory_handle_mac.cc b/base/memory/shared_memory_handle_mac.cc
index 9dfd3c1aeacbbc1d89fb6b09ffad5c5eec3df23a..7bd75a92905b34a7e85209322bdf97d782dc84a2 100644
--- a/base/memory/shared_memory_handle_mac.cc
+++ b/base/memory/shared_memory_handle_mac.cc
@@ -216,4 +216,15 @@ void SharedMemoryHandle::CopyRelevantData(const SharedMemoryHandle& handle) {
}
}
+bool GetIDFromSharedMemoryHandle(const SharedMemoryHandle& handle,
+ SharedMemoryHandleID* id) {
+ // TODO(hajimehoshi): Implement this.
+ return true;
+}
+
+std::string GetSharedMemoryHandleIDString(const SharedMemoryHandleID& id) {
+ // TODO(hajimehoshi): Implement this.
+ return "";
+}
+
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698