summaryrefslogtreecommitdiffstats
path: root/base/sys_info.h
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 16:14:37 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 16:14:37 +0000
commit611cc2f8f49fa5468cf3dc2f56052f5d95196a01 (patch)
tree5ed57a62e1e3d032f63b46515a74ec78b05ada78 /base/sys_info.h
parent8af455ad2a4bc2bfed9fbe3561697b42f6acf9c9 (diff)
downloadchromium_src-611cc2f8f49fa5468cf3dc2f56052f5d95196a01.zip
chromium_src-611cc2f8f49fa5468cf3dc2f56052f5d95196a01.tar.gz
chromium_src-611cc2f8f49fa5468cf3dc2f56052f5d95196a01.tar.bz2
Revert r10259 & subsequent fixes.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sys_info.h')
-rw-r--r--base/sys_info.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/base/sys_info.h b/base/sys_info.h
index 16b8690..35d371b 100644
--- a/base/sys_info.h
+++ b/base/sys_info.h
@@ -14,8 +14,6 @@ namespace base {
class SysInfo {
public:
// Return the number of logical processors/cores on the current machine.
- // WARNING: On POSIX, this method uses static variables and is not threadsafe
- // until it's been initialized by being called once without a race.
static int NumberOfProcessors();
// Return the number of bytes of physical memory on the current machine.
@@ -45,15 +43,6 @@ class SysInfo {
// Returns the version of the host operating system.
static std::string OperatingSystemVersion();
- // Retrieves detailed numeric values for the OS version.
- // WARNING: On OS X, this method uses static variables and is not threadsafe
- // until it's been initialized by being called once without a race.
- // TODO(port): Implement a Linux version of this method and enable the
- // corresponding unit test.
- static void OperatingSystemVersionNumbers(int32 *major_version,
- int32 *minor_version,
- int32 *bugfix_version);
-
// Returns the CPU architecture of the system. Exact return value may differ
// across platforms.
static std::string CPUArchitecture();