Index: base/shared_memory.h |
diff --git a/base/shared_memory.h b/base/shared_memory.h |
index cf07da326dad3885c91a27edc884ed87144f0c74..74e14aa68f7e183021ebb31c7a5cc432395c0e01 100644 |
--- a/base/shared_memory.h |
+++ b/base/shared_memory.h |
@@ -184,6 +184,11 @@ class BASE_API SharedMemory { |
// Releases the shared memory lock. |
void Unlock(); |
+#if defined(OS_ANDROID) |
+ // Returns the size of shared memory or a negative value on error. |
+ int GetAshmenSizeRegion(); |
darin (slow to review)
2011/06/20 18:44:01
Is "Asmen" a common word on Android? It is good t
michaelbai
2011/06/20 22:50:36
I think created_size() is just for one who created
|
+#endif |
+ |
private: |
#if defined(OS_POSIX) |
bool PrepareMapFile(FILE *fp); |