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

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: Address comments, rebase 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
« no previous file with comments | « base/base.gypi ('k') | base/sys_info_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info.h
diff --git a/base/sys_info.h b/base/sys_info.h
index edfa70f6267a4caf659189ccd071e96c519d7ca1..242f4fbf5f7218aef41812c94d4fc38c17f2f1bb 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -80,6 +80,10 @@ class BASE_EXPORT SysInfo {
// Returns the path to the lsb-release file.
static FilePath GetLsbReleaseFilePath();
#endif // defined(OS_CHROMEOS)
+
+#if defined(OS_ANDROID)
+ static int DalvikHeapSizeMB();
+#endif // defined(OS_ANDROID)
};
} // namespace base
« no previous file with comments | « base/base.gypi ('k') | base/sys_info_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698