close_handle_hook_win.h 518 B

12345678910111213141516171819
  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. #ifndef BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_
  5. #define BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_
  6. #include "base/base_export.h"
  7. namespace base {
  8. namespace debug {
  9. // Installs the hooks required to debug use of improper handles.
  10. BASE_EXPORT void InstallHandleHooks();
  11. } // namespace debug
  12. } // namespace base
  13. #endif // BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_