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

Unified Diff: base/android/build_info.h

Issue 1236283002: [Android] Remove deprecated SysInfo property retrieval (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 5 years, 4 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 | « no previous file | base/android/build_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/build_info.h
diff --git a/base/android/build_info.h b/base/android/build_info.h
index 834c98dddf1c6d2d785f361bfde7cbc97c3b6fe3..dfebd47e988bae9322772fbf8bf92db5602932db 100644
--- a/base/android/build_info.h
+++ b/base/android/build_info.h
@@ -64,12 +64,12 @@ class BASE_EXPORT BuildInfo {
return brand_;
}
- const char* android_build_id() const {
- return android_build_id_;
+ const char* build_id() const {
+ return build_id_;
}
- const char* android_build_fp() const {
- return android_build_fp_;
+ const char* build_fp() const {
+ return build_fp_;
}
const char* package_version_code() const {
@@ -92,10 +92,22 @@ class BASE_EXPORT BuildInfo {
return build_type_;
}
+ const char* build_version_release() const {
+ return build_version_release_;
+ }
+
+ const char* build_version_codename() const {
+ return build_version_codename_;
+ }
+
int sdk_int() const {
return sdk_int_;
}
+ int large_memory_class() const {
+ return large_memory_class_;
+ }
+
int has_language_apk_splits() const {
return has_language_apk_splits_;
}
@@ -123,14 +135,17 @@ class BASE_EXPORT BuildInfo {
const char* const manufacturer_;
const char* const model_;
const char* const brand_;
- const char* const android_build_id_;
- const char* const android_build_fp_;
+ const char* const build_id_;
+ const char* const build_fp_;
const char* const package_version_code_;
const char* const package_version_name_;
const char* const package_label_;
const char* const package_name_;
const char* const build_type_;
+ const char* const build_version_release_;
+ const char* const build_version_codename_;
const int sdk_int_;
+ const int large_memory_class_;
const bool has_language_apk_splits_;
// This is set via set_java_exception_info, not at constructor time.
const char* java_exception_info_;
« no previous file with comments | « no previous file | base/android/build_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698