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

Unified Diff: base/sys_info_mac.mm

Issue 2860663005: Implement SysInfo::HardwareModelName() on iOS. (Closed)
Patch Set: Created 3 years, 7 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
« base/sys_info_ios.mm ('K') | « base/sys_info_ios.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info_mac.mm
diff --git a/base/sys_info_mac.mm b/base/sys_info_mac.mm
index 1141bd557768bab8eb387dd62668831edd40bd92..63513f7b1f0033c79623c302d01ac51fe1217d44 100644
--- a/base/sys_info_mac.mm
+++ b/base/sys_info_mac.mm
@@ -101,6 +101,7 @@ std::string SysInfo::CPUModelName() {
return std::string();
}
+// static
std::string SysInfo::HardwareModelName() {
char model[256];
size_t len = sizeof(model);
« base/sys_info_ios.mm ('K') | « base/sys_info_ios.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698