| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 static void StartTracking(HANDLE handle, const void* owner, | 174 static void StartTracking(HANDLE handle, const void* owner, |
| 175 const void* pc1, const void* pc2); | 175 const void* pc1, const void* pc2); |
| 176 static void StopTracking(HANDLE handle, const void* owner, | 176 static void StopTracking(HANDLE handle, const void* owner, |
| 177 const void* pc1, const void* pc2); | 177 const void* pc1, const void* pc2); |
| 178 | 178 |
| 179 private: | 179 private: |
| 180 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); | 180 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); |
| 181 }; | 181 }; |
| 182 | 182 |
| 183 typedef GenericScopedHandle<HandleTraits, DummyVerifierTraits> ScopedHandle; | 183 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; |
| 184 | 184 |
| 185 } // namespace win | 185 } // namespace win |
| 186 } // namespace base | 186 } // namespace base |
| 187 | 187 |
| 188 #endif // BASE_SCOPED_HANDLE_WIN_H_ | 188 #endif // BASE_SCOPED_HANDLE_WIN_H_ |
| OLD | NEW |