| 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 #pragma once | |
| 8 | 7 |
| 9 #include <windows.h> | 8 #include <windows.h> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/location.h" | 12 #include "base/location.h" |
| 14 #include "base/logging.h" | 13 #include "base/logging.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 namespace win { | 16 namespace win { |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 private: | 163 private: |
| 165 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); | 164 DISALLOW_IMPLICIT_CONSTRUCTORS(VerifierTraits); |
| 166 }; | 165 }; |
| 167 | 166 |
| 168 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; | 167 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; |
| 169 | 168 |
| 170 } // namespace win | 169 } // namespace win |
| 171 } // namespace base | 170 } // namespace base |
| 172 | 171 |
| 173 #endif // BASE_SCOPED_HANDLE_WIN_H_ | 172 #endif // BASE_SCOPED_HANDLE_WIN_H_ |
| OLD | NEW |