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

Unified Diff: base/sys_info_ios.mm

Issue 10914060: Refine systemInfo.cpu API defintions and provide systemInfo.cpu.get impl for Windows and Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: base/sys_info_ios.mm
diff --git a/base/sys_info_ios.mm b/base/sys_info_ios.mm
index 48c7bd944841b1f215e44c0cff71a02c1dff54c4..1f49cacbf27b318d60de2ffcf74960c374483ca7 100644
--- a/base/sys_info_ios.mm
+++ b/base/sys_info_ios.mm
@@ -65,4 +65,10 @@ int64 SysInfo::AmountOfPhysicalMemory() {
return static_cast<int64>(hostinfo.max_mem);
}
+// static
+std::string SysInfo::CPUModelName() {
+ // TODO(hongbo): Retrieve cpu model name.
+ return "unknown";
+}
+
} // namespace base
« no previous file with comments | « base/sys_info.h ('k') | base/sys_info_linux.cc » ('j') | base/sys_info_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698