OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BSTR_H_ | 5 #ifndef BASE_WIN_SCOPED_BSTR_H_ |
6 #define BASE_WIN_SCOPED_BSTR_H_ | 6 #define BASE_WIN_SCOPED_BSTR_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <oleauto.h> | 9 #include <oleauto.h> |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // Forbid comparison of ScopedBstr types. You should never have the same | 87 // Forbid comparison of ScopedBstr types. You should never have the same |
88 // BSTR owned by two different scoped_ptrs. | 88 // BSTR owned by two different scoped_ptrs. |
89 bool operator==(const ScopedBstr& bstr2) const; | 89 bool operator==(const ScopedBstr& bstr2) const; |
90 bool operator!=(const ScopedBstr& bstr2) const; | 90 bool operator!=(const ScopedBstr& bstr2) const; |
91 DISALLOW_COPY_AND_ASSIGN(ScopedBstr); | 91 DISALLOW_COPY_AND_ASSIGN(ScopedBstr); |
92 }; | 92 }; |
93 | 93 |
94 } // namespace win | 94 } // namespace win |
95 } // namespace base | 95 } // namespace base |
96 | 96 |
97 #endif // BASE_WIN_SCOPED_BSTR_H_ | 97 #endif // BASE_SCOPED_BSTR_H_ |
OLD | NEW |