summaryrefslogtreecommitdiffstats
path: root/base/win/windows_version.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 19:12:29 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 19:12:29 +0000
commitaf67f2047292bcc2744d94edf93a00ac46d0a829 (patch)
tree1df2731d26a8a3c99f99ef062b507cf17a3b9d06 /base/win/windows_version.h
parent74a2bbe73c9102fa5f14fecb34aaf98a6e1b1784 (diff)
downloadchromium_src-af67f2047292bcc2744d94edf93a00ac46d0a829.zip
chromium_src-af67f2047292bcc2744d94edf93a00ac46d0a829.tar.gz
chromium_src-af67f2047292bcc2744d94edf93a00ac46d0a829.tar.bz2
Add a function to get the processor architecture. I will be using this in the user agent construction code.
Also cleans up a few nearby things. BUG=none TEST=none Review URL: http://codereview.chromium.org/6632002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/win/windows_version.h')
-rw-r--r--base/win/windows_version.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/win/windows_version.h b/base/win/windows_version.h
index 0cfb2c7..bdd783d 100644
--- a/base/win/windows_version.h
+++ b/base/win/windows_version.h
@@ -15,10 +15,10 @@ namespace win {
// "if (GetWinVersion() > WINVERSION_2000) ...". It's OK to change the values,
// though.
enum Version {
- VERSION_PRE_2000 = 0, // Not supported
- VERSION_2000 = 1, // Not supported
+ VERSION_PRE_2000 = 0, // Not supported
+ VERSION_2000 = 1, // Not supported
VERSION_XP = 2,
- VERSION_SERVER_2003 = 3,
+ VERSION_SERVER_2003 = 3, // Also includes Windows XP Professional x64 edition
VERSION_VISTA = 4,
VERSION_2008 = 5,
VERSION_WIN7 = 6,