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

Unified Diff: base/sys_info.h

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
« no previous file with comments | « no previous file | base/sys_info_ios.mm » ('j') | base/sys_info_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/sys_info.h
diff --git a/base/sys_info.h b/base/sys_info.h
index af9f017fce00099589b67a3c74580fe9b4e751d0..a125df31657f9becd0beb2312084bd729b4fa2bb 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -55,6 +55,9 @@ class BASE_EXPORT SysInfo {
// across platforms.
static std::string CPUArchitecture();
+ // Returns the CPU model name of the system.
+ static std::string CPUModelName();
+
// Return the smallest amount of memory (in bytes) which the VM system will
// allocate.
static size_t VMAllocationGranularity();
« no previous file with comments | « no previous file | base/sys_info_ios.mm » ('j') | base/sys_info_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698