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

Unified Diff: base/android/java/src/org/chromium/base/SysUtils.java

Issue 119493005: Expose a low-end device mode override flags for non-android OSs as well (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Put low end device detection under the flag for all platforms except android. Created 6 years, 11 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
Index: base/android/java/src/org/chromium/base/SysUtils.java
diff --git a/base/android/java/src/org/chromium/base/SysUtils.java b/base/android/java/src/org/chromium/base/SysUtils.java
index 15688618eb48e16d6ba31b8e370efa3fd32bc48c..d2e6e2fdc50c6e098436a977e19878753ba02236 100644
--- a/base/android/java/src/org/chromium/base/SysUtils.java
+++ b/base/android/java/src/org/chromium/base/SysUtils.java
@@ -37,7 +37,6 @@ public class SysUtils {
*
* Note that this is CalledByNative for testing purpose only.
*/
- @CalledByNative
public static int amountOfPhysicalMemoryKB() {
// Extract total memory RAM size by parsing /proc/meminfo, note that
// this is exactly what the implementation of sysconf(_SC_PHYS_PAGES)
« no previous file with comments | « base/android/base_jni_registrar.cc ('k') | base/android/sys_utils.h » ('j') | base/sys_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698