| 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_COM_INITIALIZER_H_ | 5 #ifndef BASE_WIN_SCOPED_COM_INITIALIZER_H_ |
| 6 #define BASE_WIN_SCOPED_COM_INITIALIZER_H_ | 6 #define BASE_WIN_SCOPED_COM_INITIALIZER_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 10 #include "base/logging.h" | 9 #include "base/logging.h" |
| 11 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 12 | 11 |
| 13 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
| 14 | 13 |
| 15 #include <objbase.h> | 14 #include <objbase.h> |
| 16 | 15 |
| 17 namespace base { | 16 namespace base { |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 private: | 85 private: |
| 87 DISALLOW_COPY_AND_ASSIGN(ScopedCOMInitializer); | 86 DISALLOW_COPY_AND_ASSIGN(ScopedCOMInitializer); |
| 88 }; | 87 }; |
| 89 | 88 |
| 90 } // namespace win | 89 } // namespace win |
| 91 } // namespace base | 90 } // namespace base |
| 92 | 91 |
| 93 #endif | 92 #endif |
| 94 | 93 |
| 95 #endif // BASE_WIN_SCOPED_COM_INITIALIZER_H_ | 94 #endif // BASE_WIN_SCOPED_COM_INITIALIZER_H_ |
| OLD | NEW |