OLD | NEW |
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_SCOPED_HANDLE_H_ | 5 #ifndef BASE_WIN_SCOPED_HANDLE_H_ |
6 #define BASE_WIN_SCOPED_HANDLE_H_ | 6 #define BASE_WIN_SCOPED_HANDLE_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/base_export.h" | 10 #include "base/base_export.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 171 |
172 static void StartTracking(HANDLE handle, const void* owner, | 172 static void StartTracking(HANDLE handle, const void* owner, |
173 const void* pc1, const void* pc2); | 173 const void* pc1, const void* pc2); |
174 static void StopTracking(HANDLE handle, const void* owner, | 174 static void StopTracking(HANDLE handle, const void* owner, |
175 const void* pc1, const void* pc2); | 175 const void* pc1, const void* pc2); |
176 | 176 |
177 private: | 177 private: |
178 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); | 178 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); |
179 }; | 179 }; |
180 | 180 |
181 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; | 181 typedef GenericScopedHandle<HandleTraits, DummyVerifierTraits> ScopedHandle; |
182 | 182 |
183 } // namespace win | 183 } // namespace win |
184 } // namespace base | 184 } // namespace base |
185 | 185 |
186 #endif // BASE_SCOPED_HANDLE_WIN_H_ | 186 #endif // BASE_SCOPED_HANDLE_WIN_H_ |
OLD | NEW |