diff options
Diffstat (limited to 'base/android/sys_utils.h')
-rw-r--r-- | base/android/sys_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/android/sys_utils.h b/base/android/sys_utils.h index 78122ff..318c75e 100644 --- a/base/android/sys_utils.h +++ b/base/android/sys_utils.h @@ -14,8 +14,12 @@ class BASE_EXPORT SysUtils { public: static bool Register(JNIEnv* env); + // Returns true iff this is a low-end device. static bool IsLowEndDevice(); + // Return the device's RAM size in kilo-bytes. Used for testing. + static size_t AmountOfPhysicalMemoryKB(); + private: SysUtils(); }; |