summaryrefslogtreecommitdiffstats
path: root/base/debug/close_handle_hook_win.h
blob: a0424677ab2f6c5a86ea08e5e118e0f5c3d22db6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_
#define BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_

#include "base/base_export.h"

namespace base {
namespace debug {

// Installs the hooks required to debug use of improper handles.
BASE_EXPORT void InstallHandleHooks();

// Removes the hooks installed by InstallHandleHooks().
BASE_EXPORT void RemoveHandleHooks();

}  // namespace debug
}  // namespace base

#endif  // BASE_DEBUG_CLOSE_HANDLE_HOOK_WIN_H_