diff options
| author | sl.ostapenko@samsung.com <sl.ostapenko@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 23:27:04 +0000 |
|---|---|---|
| committer | sl.ostapenko@samsung.com <sl.ostapenko@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-02 23:27:04 +0000 |
| commit | 2a79350a2a7c9fc4ec039cb921442518028d6294 (patch) | |
| tree | 8569456cd4667a7d8e1656ae46c506c0806cbbe5 /base/android/sys_utils.h | |
| parent | cce34bd6de099e68afdedba4ed8cd5f4e67c4cf8 (diff) | |
| download | chromium_src-2a79350a2a7c9fc4ec039cb921442518028d6294.zip chromium_src-2a79350a2a7c9fc4ec039cb921442518028d6294.tar.gz chromium_src-2a79350a2a7c9fc4ec039cb921442518028d6294.tar.bz2 | |
Cache JNI call results in SysUtils on native side.
BUG=323727
Review URL: https://codereview.chromium.org/89773002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/android/sys_utils.h')
| -rw-r--r-- | base/android/sys_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/android/sys_utils.h b/base/android/sys_utils.h index 318c75e..9b3152b 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 |
