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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 190 |
191 static void StartTracking(HANDLE handle, const void* owner, | 191 static void StartTracking(HANDLE handle, const void* owner, |
192 const void* pc1, const void* pc2); | 192 const void* pc1, const void* pc2); |
193 static void StopTracking(HANDLE handle, const void* owner, | 193 static void StopTracking(HANDLE handle, const void* owner, |
194 const void* pc1, const void* pc2); | 194 const void* pc1, const void* pc2); |
195 | 195 |
196 private: | 196 private: |
197 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); | 197 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); |
198 }; | 198 }; |
199 | 199 |
200 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; | 200 typedef GenericScopedHandle<HandleTraits, DummyVerifierTraits> ScopedHandle; |
201 | 201 |
202 } // namespace win | 202 } // namespace win |
203 } // namespace base | 203 } // namespace base |
204 | 204 |
205 #endif // BASE_SCOPED_HANDLE_WIN_H_ | 205 #endif // BASE_SCOPED_HANDLE_WIN_H_ |
OLD | NEW |