Index: base/sys_info.h |
diff --git a/base/sys_info.h b/base/sys_info.h |
index c95415e40872786a6ab022c59ff906ab237841c6..042b5780d6aaf8ae72d323541bb5b4daff0606b8 100644 |
--- a/base/sys_info.h |
+++ b/base/sys_info.h |
@@ -81,8 +81,25 @@ class BASE_EXPORT SysInfo { |
#endif // defined(OS_CHROMEOS) |
#if defined(OS_ANDROID) |
+ // Returns the Android build's codename. |
+ static std::string GetAndroidBuildCodename(); |
+ |
+ // Returns the Android build ID. |
+ static std::string GetAndroidBuildID(); |
+ |
+ // Returns the device's name. |
+ static std::string GetDeviceName(); |
+ |
static int DalvikHeapSizeMB(); |
#endif // defined(OS_ANDROID) |
+ |
+ // Default version of Android to fall back to when actual version numbers |
+ // cannot be acquired. |
+ // TODO(dfalcantara): Keep this reasonably up to date with the latest publicly |
+ // available version of Android. |
+ static const int kDefaultAndroidMajorVersion = 4; |
+ static const int kDefaultAndroidMinorVersion = 0; |
+ static const int kDefaultAndroidBugfixVersion = 3; |
jar (doing other things)
2012/08/15 23:35:17
Why isn't this stuff inside the OS_ANDROID ifdef?
gone
2012/08/16 00:29:31
Supposed to be used for spoofing later; I can move
|
}; |
} // namespace base |