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

Side by Side Diff: base/win/windows_version.h

Issue 1550493002: Switch to standard integer types in base/win/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « base/win/win_util_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_WIN_WINDOWS_VERSION_H_ 5 #ifndef BASE_WIN_WINDOWS_VERSION_H_
6 #define BASE_WIN_WINDOWS_VERSION_H_ 6 #define BASE_WIN_WINDOWS_VERSION_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/base_export.h" 12 #include "base/base_export.h"
11 #include "base/basictypes.h" 13 #include "base/macros.h"
12 14
13 typedef void* HANDLE; 15 typedef void* HANDLE;
14 16
15 namespace base { 17 namespace base {
16 namespace win { 18 namespace win {
17 19
18 // The running version of Windows. This is declared outside OSInfo for 20 // The running version of Windows. This is declared outside OSInfo for
19 // syntactic sugar reasons; see the declaration of GetVersion() below. 21 // syntactic sugar reasons; see the declaration of GetVersion() below.
20 // NOTE: Keep these in order so callers can do things like 22 // NOTE: Keep these in order so callers can do things like
21 // "if (base::win::GetVersion() >= base::win::VERSION_VISTA) ...". 23 // "if (base::win::GetVersion() >= base::win::VERSION_VISTA) ...".
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 }; 117 };
116 118
117 // Because this is by far the most commonly-requested value from the above 119 // Because this is by far the most commonly-requested value from the above
118 // singleton, we add a global-scope accessor here as syntactic sugar. 120 // singleton, we add a global-scope accessor here as syntactic sugar.
119 BASE_EXPORT Version GetVersion(); 121 BASE_EXPORT Version GetVersion();
120 122
121 } // namespace win 123 } // namespace win
122 } // namespace base 124 } // namespace base
123 125
124 #endif // BASE_WIN_WINDOWS_VERSION_H_ 126 #endif // BASE_WIN_WINDOWS_VERSION_H_
OLDNEW
« no previous file with comments | « base/win/win_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698