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

Unified Diff: base/memory/shared_memory.h

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 | « no previous file | base/memory/shared_memory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory.h
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
index 872c38a4798a44a3a67f2200a581b2fbde48310d..c4b4cdb64430d6fd4869711b3a000c8b8dcf7e8f 100644
--- a/base/memory/shared_memory.h
+++ b/base/memory/shared_memory.h
@@ -127,14 +127,6 @@ class BASE_EXPORT SharedMemory {
static int GetFdFromSharedMemoryHandle(const SharedMemoryHandle& handle);
#endif
-#if defined(OS_POSIX) && !defined(OS_ANDROID)
- // Gets the size of the shared memory region referred to by |handle|.
- // Returns false on a failure to determine the size. On success, populates the
- // output variable |size|.
- static bool GetSizeFromSharedMemoryHandle(const SharedMemoryHandle& handle,
- size_t* size);
-#endif // defined(OS_POSIX) && !defined(OS_ANDROID)
-
// Creates a shared memory object as described by the options struct.
// Returns true on success and false on failure.
bool Create(const SharedMemoryCreateOptions& options);
« no previous file with comments | « no previous file | base/memory/shared_memory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698