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

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: 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 | « base/sys_info_win.cc ('k') | base/win/windows_version.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/windows_version.h
diff --git a/base/win/windows_version.h b/base/win/windows_version.h
index 0e4a75edd9ae025356b05a2f26142228f61010e5..d466dad98e81cd327be90600162c88c185287e11 100644
--- a/base/win/windows_version.h
+++ b/base/win/windows_version.h
@@ -5,6 +5,8 @@
#ifndef BASE_WIN_WINDOWS_VERSION_H_
#define BASE_WIN_WINDOWS_VERSION_H_
+#include <string>
+
#include "base/base_export.h"
#include "base/basictypes.h"
@@ -76,6 +78,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 +95,7 @@ class BASE_EXPORT OSInfo {
int processors_;
size_t allocation_granularity_;
WOW64Status wow64_status_;
+ std::string processor_model_name_;
DISALLOW_COPY_AND_ASSIGN(OSInfo);
};
« no previous file with comments | « 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