| Index: base/android/sys_utils_android.h
|
| diff --git a/base/android/sys_utils.h b/base/android/sys_utils_android.h
|
| similarity index 55%
|
| rename from base/android/sys_utils.h
|
| rename to base/android/sys_utils_android.h
|
| index 0841d0a7888d32b80eab953e174dc6e8d487e115..27ea40fed913518161f20d2153f937454673e8d9 100644
|
| --- a/base/android/sys_utils.h
|
| +++ b/base/android/sys_utils_android.h
|
| @@ -2,32 +2,24 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef BASE_ANDROID_SYS_UTILS_H_
|
| -#define BASE_ANDROID_SYS_UTILS_H_
|
| +#ifndef BASE_SYS_UTILS_ANDROID_H_
|
| +#define BASE_SYS_UTILS_ANDROID_H_
|
|
|
| #include "base/android/jni_android.h"
|
| +#include "base/sys_utils.h"
|
|
|
| namespace base {
|
| namespace android {
|
|
|
| -class BASE_EXPORT SysUtils {
|
| +class BASE_EXPORT SysUtilsAndroid {
|
| 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.
|
| - static size_t AmountOfPhysicalMemoryKB();
|
| -
|
| - private:
|
| - SysUtils();
|
| -
|
| static bool IsLowEndDeviceFromJni();
|
| - static size_t AmountOfPhysicalMemoryKBFromJni();
|
| };
|
|
|
| } // namespace android
|
| } // namespace base
|
|
|
| -#endif // BASE_ANDROID_SYS_UTILS_H_
|
| +#endif // BASE_SYS_UTILS_ANDROID_H_
|
|
|