Chromium Code Reviews| Index: base/sys_utils.h |
| diff --git a/base/android/sys_utils.h b/base/sys_utils.h |
| similarity index 59% |
| rename from base/android/sys_utils.h |
| rename to base/sys_utils.h |
| index 9b3152b466ca64024356ff9011845190d1bd64fb..bb2a607d8b801d637a34c814dc6f7b4506741f67 100644 |
| --- a/base/android/sys_utils.h |
| +++ b/base/sys_utils.h |
| @@ -2,18 +2,16 @@ |
| // 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_H_ |
| +#define BASE_SYS_UTILS_H_ |
| -#include "base/android/jni_android.h" |
| +#include <stddef.h> |
| +#include "base/base_export.h" |
| namespace base { |
| -namespace android { |
| class BASE_EXPORT SysUtils { |
| public: |
| - static bool Register(JNIEnv* env); |
| - |
| // Returns true iff this is a low-end device. |
|
willchan no longer on Chromium
2013/12/26 19:02:39
This is too vague. It was kinda-OK when it was jus
lgombos
2013/12/27 05:31:44
I have to agree that it is vague, but fwiw I think
|
| static bool IsLowEndDevice(); |
| @@ -22,12 +20,8 @@ class BASE_EXPORT SysUtils { |
| private: |
| SysUtils(); |
| - |
| - static bool IsLowEndDeviceFromJni(); |
| - static size_t AmountOfPhysicalMemoryKBFromJni(); |
| }; |
| -} // namespace android |
| } // namespace base |
| -#endif // BASE_ANDROID_SYS_UTILS_H_ |
| +#endif // BASE_SYS_UTILS_H_ |