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

Unified Diff: base/win/windows_version.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: code refinement for mac and ios impl 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/win/windows_version.h
diff --git a/base/win/windows_version.h b/base/win/windows_version.h
index 0e4a75edd9ae025356b05a2f26142228f61010e5..e5dc3e659b03f09df2fd83b7950c39b238b41b42 100644
--- a/base/win/windows_version.h
+++ b/base/win/windows_version.h
@@ -76,6 +76,7 @@ class BASE_EXPORT OSInfo {
int processors() const { return processors_; }
size_t allocation_granularity() const { return allocation_granularity_; }
WOW64Status wow64_status() const { return wow64_status_; }
+ std::string processor_model_name();
// Like wow64_status(), but for the supplied handle instead of the current
// process. This doesn't touch member state, so you can bypass the singleton.
@@ -92,6 +93,7 @@ class BASE_EXPORT OSInfo {
int processors_;
size_t allocation_granularity_;
WOW64Status wow64_status_;
+ std::string processor_model_name_;
DISALLOW_COPY_AND_ASSIGN(OSInfo);
};
« base/sys_info.h ('K') | « base/sys_info_win.cc ('k') | base/win/windows_version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698