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

Unified Diff: content/common/user_agent.cc

Issue 1234543003: Report Android Build.MODEL in SystemProfileProto hardware_class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove GetDeviceName(). 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: content/common/user_agent.cc
diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc
index f3e113da7c180ada1d540dc309e7c17e76f6727f..98a0c4b629772ca597ea614e77c58e419f70c058 100644
--- a/content/common/user_agent.cc
+++ b/content/common/user_agent.cc
@@ -27,7 +27,7 @@ namespace {
#if defined(OS_ANDROID)
std::string GetAndroidDeviceName() {
- return base::SysInfo::GetDeviceName();
+ return base::SysInfo::HardwareModelName();
jdduke (slow) 2015/07/14 18:46:48 Nit: I think we can remove this method and just in
tdresser 2015/07/14 19:02:27 Done.
}
#endif
« base/sys_info_android.cc ('K') | « chrome/browser/ui/android/android_about_app_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698