OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ | 5 #ifndef BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ |
6 #define BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ | 6 #define BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 namespace debug { | 11 namespace debug { |
12 | 12 |
13 // Installs the hooks required to debug use of improper handles. | 13 // Installs the hooks required to debug use of improper handles. |
14 BASE_EXPORT void InstallHandleHooks(); | 14 BASE_EXPORT void InstallHandleHooks(); |
15 | 15 |
16 // Removes the hooks installed by InstallHandleHooks(). | |
17 BASE_EXPORT void RemoveHandleHooks(); | |
18 | |
19 } // namespace debug | 16 } // namespace debug |
20 } // namespace base | 17 } // namespace base |
21 | 18 |
22 #endif // BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ | 19 #endif // BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ |
OLD | NEW |