OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ | |
6 #define BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ | |
7 | |
8 #include "base/base_export.h" | |
9 | |
10 namespace base { | |
11 namespace debug { | |
12 | |
13 // Installs the hooks required to debug use of improper handles. | |
14 // Returns true if the hooks were successfully installed. | |
15 BASE_EXPORT bool InstallHandleHooks(); | |
16 | |
17 // Removes the hooks installed by InstallHandleHooks(). | |
18 BASE_EXPORT void RemoveHandleHooks(); | |
19 | |
20 } // namespace debug | |
21 } // namespace base | |
22 | |
23 #endif // BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_ | |
OLD | NEW |