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

Unified Diff: base/android/sys_utils.h

Issue 2933503002: Add IsCurrentlyLowMemory (Closed)
Patch Set: added comment Created 3 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 2edbdd512ce43e47b4ac9419ee9427cb267b2c53..b1e368bac9bfecacd43f23433eaf2956f5cac299 100644
--- a/base/android/sys_utils.h
+++ b/base/android/sys_utils.h
@@ -14,6 +14,8 @@ class BASE_EXPORT SysUtils {
public:
// Returns true iff this is a low-end device.
static bool IsLowEndDeviceFromJni();
+ // Returns true if system has low available memory.
+ static bool IsCurrentlyLowMemory();
};
} // 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