| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIN_SCOPED_HANDLE_H_ | 5 #ifndef BASE_WIN_SCOPED_HANDLE_H_ |
| 6 #define BASE_WIN_SCOPED_HANDLE_H_ | 6 #define BASE_WIN_SCOPED_HANDLE_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 // This should be called whenever the OS is closing a handle, if extended | 168 // This should be called whenever the OS is closing a handle, if extended |
| 169 // verification of improper handle closing is desired. If |handle| is being | 169 // verification of improper handle closing is desired. If |handle| is being |
| 170 // tracked by the handle verifier and ScopedHandle is not the one closing it, | 170 // tracked by the handle verifier and ScopedHandle is not the one closing it, |
| 171 // a CHECK is generated. | 171 // a CHECK is generated. |
| 172 void BASE_EXPORT OnHandleBeingClosed(HANDLE handle); | 172 void BASE_EXPORT OnHandleBeingClosed(HANDLE handle); |
| 173 | 173 |
| 174 } // namespace win | 174 } // namespace win |
| 175 } // namespace base | 175 } // namespace base |
| 176 | 176 |
| 177 #endif // BASE_SCOPED_HANDLE_WIN_H_ | 177 #endif // BASE_WIN_SCOPED_HANDLE_H_ |
| OLD | NEW |