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

Unified Diff: base/memory/shared_memory_handle_win.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_win.cc
diff --git a/base/memory/shared_memory_handle_win.cc b/base/memory/shared_memory_handle_win.cc
index a2ff91abd2c6c7cc7e2651e8ac90cf152dd5ad50..233e8a0d562d4443c37f3073c5cddb924b0e8377 100644
--- a/base/memory/shared_memory_handle_win.cc
+++ b/base/memory/shared_memory_handle_win.cc
@@ -76,4 +76,15 @@ bool SharedMemoryHandle::OwnershipPassesToIPC() const {
return ownership_passes_to_ipc_;
}
+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