Chromium Code Reviews| Index: base/shared_memory.h |
| diff --git a/base/shared_memory.h b/base/shared_memory.h |
| index cf07da326dad3885c91a27edc884ed87144f0c74..53d4bae1ad15d7118252fccdcc220455d50f4ce5 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. |
|
joth
2011/06/19 12:48:05
// Returns the size of shared memory or a negative
michaelbai
2011/06/20 22:50:36
Done.
|
| + int GetAshmenSizeRegion(); |
| +#endif |
| + |
| private: |
| #if defined(OS_POSIX) |
| bool PrepareMapFile(FILE *fp); |