Chromium Code Reviews| 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/21 18:44:02
I am still wondering why you need this method. If
|
| +#endif |
| + |
| private: |
| #if defined(OS_POSIX) |
| bool PrepareMapFile(FILE *fp); |