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

Unified Diff: base/shared_memory.h

Issue 7184032: Upstream android file related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update DEPS Created 9 years, 6 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
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);

Powered by Google App Engine
This is Rietveld 408576698