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

Unified Diff: base/memory/shared_memory_handle.cc

Issue 2875453002: Add a size parameter to SharedMemoryHandle. (Closed)
Patch Set: Remove extraneous period. Created 3 years, 7 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
« no previous file with comments | « base/memory/shared_memory_handle.h ('k') | base/memory/shared_memory_handle_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory_handle.cc
diff --git a/base/memory/shared_memory_handle.cc b/base/memory/shared_memory_handle.cc
index 3461cded766b4d133180112fe6e973430c618c43..085bde46c295d502f6bc78012923308ba1c3045c 100644
--- a/base/memory/shared_memory_handle.cc
+++ b/base/memory/shared_memory_handle.cc
@@ -16,4 +16,8 @@ base::UnguessableToken SharedMemoryHandle::GetGUID() const {
return guid_;
}
+size_t SharedMemoryHandle::GetSize() const {
+ return size_;
+}
+
} // namespace base
« no previous file with comments | « base/memory/shared_memory_handle.h ('k') | base/memory/shared_memory_handle_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698