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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 | 10 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 public: | 138 public: |
139 typedef HANDLE Handle; | 139 typedef HANDLE Handle; |
140 | 140 |
141 static void StartTracking(HANDLE handle, const void* owner, const void* pc); | 141 static void StartTracking(HANDLE handle, const void* owner, const void* pc); |
142 static void StopTracking(HANDLE handle, const void* owner, const void* pc); | 142 static void StopTracking(HANDLE handle, const void* owner, const void* pc); |
143 | 143 |
144 private: | 144 private: |
145 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); | 145 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); |
146 }; | 146 }; |
147 | 147 |
148 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; | 148 typedef GenericScopedHandle<HandleTraits, DummyVerifierTraits> ScopedHandle; |
149 | 149 |
150 } // namespace win | 150 } // namespace win |
151 } // namespace base | 151 } // namespace base |
152 | 152 |
153 #endif // BASE_SCOPED_HANDLE_WIN_H_ | 153 #endif // BASE_SCOPED_HANDLE_WIN_H_ |
OLD | NEW |