projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
base
/
sys_info.h
diff --git
a/src/base/sys_info.h
b/src/base/sys_info.h
index
7ce4e65
..
d24acdf
100644
(file)
--- a/
src/base/sys_info.h
+++ b/
src/base/sys_info.h
@@
-129,6
+129,11
@@
class BASE_EXPORT SysInfo {
static int DalvikHeapSizeMB();
static int DalvikHeapGrowthLimitMB();
#endif // defined(OS_ANDROID)
static int DalvikHeapSizeMB();
static int DalvikHeapGrowthLimitMB();
#endif // defined(OS_ANDROID)
+
+ // Returns true if this is a low-end device.
+ // Low-end device refers to devices having less than 512M memory in the
+ // current implementation.
+ static bool IsLowEndDevice();
};
} // namespace base
};
} // namespace base