| 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_SCOPED_NATIVE_LIBRARY_H_ | 5 #ifndef BASE_SCOPED_NATIVE_LIBRARY_H_ |
| 6 #define BASE_SCOPED_NATIVE_LIBRARY_H_ | 6 #define BASE_SCOPED_NATIVE_LIBRARY_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 10 #include "base/native_library.h" | 9 #include "base/native_library.h" |
| 11 | 10 |
| 12 class FilePath; | 11 class FilePath; |
| 13 | 12 |
| 14 namespace base { | 13 namespace base { |
| 15 | 14 |
| 16 // A class which encapsulates a base::NativeLibrary object available only in a | 15 // A class which encapsulates a base::NativeLibrary object available only in a |
| 17 // scope. | 16 // scope. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 44 | 43 |
| 45 private: | 44 private: |
| 46 NativeLibrary library_; | 45 NativeLibrary library_; |
| 47 | 46 |
| 48 DISALLOW_COPY_AND_ASSIGN(ScopedNativeLibrary); | 47 DISALLOW_COPY_AND_ASSIGN(ScopedNativeLibrary); |
| 49 }; | 48 }; |
| 50 | 49 |
| 51 } // namespace base | 50 } // namespace base |
| 52 | 51 |
| 53 #endif // BASE_MEMORY_NATIVE_LIBRARY_H_ | 52 #endif // BASE_MEMORY_NATIVE_LIBRARY_H_ |
| OLD | NEW |