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

Unified Diff: base/sys_info.cc

Issue 1234543003: Report Android Build.MODEL in SystemProfileProto hardware_class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address jdduke's comments. Created 5 years, 5 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
Index: base/sys_info.cc
diff --git a/base/sys_info.cc b/base/sys_info.cc
index 6e283be1f95e202d6611bc4e63a59327b4c93b0b..f24ebd3547d80e29f7aa1a60820c85ee4caf62b2 100644
--- a/base/sys_info.cc
+++ b/base/sys_info.cc
@@ -48,7 +48,7 @@ bool SysInfo::IsLowEndDevice() {
}
#endif
-#if !defined(OS_MACOSX) || defined(OS_IOS)
+#if (!defined(OS_MACOSX) || defined(OS_IOS)) && !defined(OS_ANDROID)
std::string SysInfo::HardwareModelName() {
return std::string();
}

Powered by Google App Engine
This is Rietveld 408576698