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

Unified Diff: base/android/sys_utils.h

Issue 258663002: Expose a low-end device mode override flags for non-android OSs as well (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments. Created 6 years, 6 months 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 | « base/android/java/src/org/chromium/base/SysUtils.java ('k') | 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 0841d0a7888d32b80eab953e174dc6e8d487e115..85dc03585c3e913a61914bd23498e42d5ae8e870 100644
--- a/base/android/sys_utils.h
+++ b/base/android/sys_utils.h
@@ -15,16 +15,7 @@ class BASE_EXPORT SysUtils {
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
« no previous file with comments | « base/android/java/src/org/chromium/base/SysUtils.java ('k') | base/android/sys_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698