Chromium Code Reviews| Index: base/win/windows_version.h |
| diff --git a/base/win/windows_version.h b/base/win/windows_version.h |
| index c9bbd4f3eb7b536f66d2e72cde86e8d6b45f2db1..83904c0f771b2c890444b6a95bb1872cb0328015 100644 |
| --- a/base/win/windows_version.h |
| +++ b/base/win/windows_version.h |
| @@ -24,13 +24,14 @@ namespace win { |
| enum Version { |
| VERSION_PRE_XP = 0, // Not supported. |
| VERSION_XP, |
| - VERSION_SERVER_2003, // Also includes XP Pro x64 and Server 2003 R2. |
| - VERSION_VISTA, // Also includes Windows Server 2008. |
| - VERSION_WIN7, // Also includes Windows Server 2008 R2. |
| - VERSION_WIN8, // Also includes Windows Server 2012. |
| - VERSION_WIN8_1, // Also includes Windows Server 2012 R2. |
| - VERSION_WIN10, // Also includes Windows 10 Server. |
| - VERSION_WIN_LAST, // Indicates error condition. |
| + VERSION_SERVER_2003, // Also includes XP Pro x64 and Server 2003 R2. |
| + VERSION_VISTA, // Also includes Windows Server 2008. |
| + VERSION_WIN7, // Also includes Windows Server 2008 R2. |
| + VERSION_WIN8, // Also includes Windows Server 2012. |
| + VERSION_WIN8_1, // Also includes Windows Server 2012 R2. |
| + VERSION_WIN10, // Also includes Windows 10 Server. |
| + VERSION_WIN10_10586, // Version 1511, Threshold 2. |
|
jschuh
2016/01/25 23:53:51
This could be nicer. How about:
VERSION_WIN10_T
penny
2016/01/26 22:37:09
Done. Sounds fine to me!
|
| + VERSION_WIN_LAST, // Indicates error condition. |
| }; |
| // A rough bucketing of the available types of versions of Windows. This is used |