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

Side by Side Diff: base/win/win_util.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 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « base/win/startup_information_unittest.cc ('k') | base/win/win_util.cc » ('j') | 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 // ============================================================================= 5 // =============================================================================
6 // PLEASE READ 6 // PLEASE READ
7 // 7 //
8 // In general, you should not be adding stuff to this file. 8 // In general, you should not be adding stuff to this file.
9 // 9 //
10 // - If your thing is only used in one place, just put it in a reasonable 10 // - If your thing is only used in one place, just put it in a reasonable
11 // location in or near that one place. It's nice you want people to be able 11 // location in or near that one place. It's nice you want people to be able
12 // to re-use your function, but realistically, if it hasn't been necessary 12 // to re-use your function, but realistically, if it hasn't been necessary
13 // before after so many years of development, it's probably not going to be 13 // before after so many years of development, it's probably not going to be
14 // used in other places in the future unless you know of them now. 14 // used in other places in the future unless you know of them now.
15 // 15 //
16 // - If your thing is used by multiple callers and is UI-related, it should 16 // - If your thing is used by multiple callers and is UI-related, it should
17 // probably be in app/win/ instead. Try to put it in the most specific file 17 // probably be in app/win/ instead. Try to put it in the most specific file
18 // possible (avoiding the *_util files when practical). 18 // possible (avoiding the *_util files when practical).
19 // 19 //
20 // ============================================================================= 20 // =============================================================================
21 21
22 #ifndef BASE_WIN_WIN_UTIL_H_ 22 #ifndef BASE_WIN_WIN_UTIL_H_
23 #define BASE_WIN_WIN_UTIL_H_ 23 #define BASE_WIN_WIN_UTIL_H_
24 24
25 #include <windows.h> 25 #include <windows.h>
26 #include <stdint.h>
26 27
27 #include <string> 28 #include <string>
28 29
29 #include "base/base_export.h" 30 #include "base/base_export.h"
30 #include "base/strings/string16.h" 31 #include "base/strings/string16.h"
31 32
32 struct IPropertyStore; 33 struct IPropertyStore;
33 struct _tagpropertykey; 34 struct _tagpropertykey;
34 typedef _tagpropertykey PROPERTYKEY; 35 typedef _tagpropertykey PROPERTYKEY;
35 36
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // CreateWindow and CreateDC. Windows 8 and above allow the kernel component 165 // CreateWindow and CreateDC. Windows 8 and above allow the kernel component
165 // of these calls to be disabled which can cause undefined behaviour such as 166 // of these calls to be disabled which can cause undefined behaviour such as
166 // crashes. This function can be used to guard areas of code using these calls 167 // crashes. This function can be used to guard areas of code using these calls
167 // and provide a fallback path if necessary. 168 // and provide a fallback path if necessary.
168 BASE_EXPORT bool IsUser32AndGdi32Available(); 169 BASE_EXPORT bool IsUser32AndGdi32Available();
169 170
170 } // namespace win 171 } // namespace win
171 } // namespace base 172 } // namespace base
172 173
173 #endif // BASE_WIN_WIN_UTIL_H_ 174 #endif // BASE_WIN_WIN_UTIL_H_
OLDNEW
« no previous file with comments | « base/win/startup_information_unittest.cc ('k') | base/win/win_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698