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

Unified Diff: base/android/sys_utils.h

Issue 89773002: Cache JNI call results in SysUtils on native side. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « no previous file | base/android/sys_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/sys_utils.h
diff --git a/base/android/sys_utils.h b/base/android/sys_utils.h
index 318c75e6140cf317a960b0385fc76fdbb997da07..9b3152b466ca64024356ff9011845190d1bd64fb 100644
--- a/base/android/sys_utils.h
+++ b/base/android/sys_utils.h
@@ -22,6 +22,9 @@ class BASE_EXPORT SysUtils {
private:
SysUtils();
+
+ static bool IsLowEndDeviceFromJni();
+ static size_t AmountOfPhysicalMemoryKBFromJni();
};
} // namespace android
« no previous file with comments | « no previous file | base/android/sys_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698