Index: chrome/app/close_handle_hook_win.h |
diff --git a/chrome/app/close_handle_hook_win.h b/chrome/app/close_handle_hook_win.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ed402d25a077e335a1199e6f88d52ef8112d9a01 |
--- /dev/null |
+++ b/chrome/app/close_handle_hook_win.h |
@@ -0,0 +1,14 @@ |
+// Copyright 2014 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 CHROME_APP_CLOSE_HANDLE_HOOK_WIN_H_ |
+#define CHROME_APP_CLOSE_HANDLE_HOOK_WIN_H_ |
+ |
+// Installs the hooks required to debug use of improper handles. |
+void InstallHandleHooks(); |
+ |
+// Removes the hooks installed by InstallHandleHooks(). |
+void RemoveHandleHooks(); |
+ |
+#endif // CHROME_APP_CLOSE_HANDLE_HOOK_WIN_H_ |