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

Unified Diff: base/android/build_info.h

Issue 599553002: Adds Build.MANUFACTURER to native BuildInfo wrapper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 03dadd99df1f95e50b6447d19995b4f89f7d3390..cef8145fa6a47d0f44f375b25941280dfbbcd98c 100644
--- a/base/android/build_info.h
+++ b/base/android/build_info.h
@@ -40,6 +40,10 @@ class BASE_EXPORT BuildInfo {
return device_;
}
+ const char* manufacturer() const {
+ return manufacturer_;
+ }
+
const char* model() const {
return model_;
}
@@ -98,6 +102,7 @@ class BASE_EXPORT BuildInfo {
// std::string.c_str() doesn't guarantee that memory won't be allocated when
// it is called.
const char* const device_;
+ const char* const manufacturer_;
const char* const model_;
const char* const brand_;
const char* const android_build_id_;
« 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