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

Unified Diff: base/sys_info.h

Issue 10113009: Set Android/V8 memory limits from dalvik.vm.heapsize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment about highUsageDeltaMB. Created 8 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
Index: base/sys_info.h
diff --git a/base/sys_info.h b/base/sys_info.h
index f3677d6009f0e67147642c54a470fb3c97a3bde2..ab295d97b6c7db7aa54c3f239dfa4349d02ceca0 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -75,6 +75,10 @@ class BASE_EXPORT SysInfo {
int32* minor_version,
int32* bugfix_version);
#endif
+
+#if defined(OS_ANDROID)
+ static int DalvikHeapSizeMB();
+#endif
};
} // namespace base
« no previous file with comments | « base/base.gypi ('k') | base/sys_info_linux.cc » ('j') | base/sys_info_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698