| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_MEMORY_SCOPED_NATIVE_LIBRARY_H_ |
| 6 #define BASE_SCOPED_NATIVE_LIBRARY_H_ | 6 #define BASE_MEMORY_SCOPED_NATIVE_LIBRARY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/native_library.h" | 9 #include "base/native_library.h" |
| 10 | 10 |
| 11 class FilePath; | 11 class FilePath; |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 | 14 |
| 15 // 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 |
| 16 // scope. | 16 // scope. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 NativeLibrary Release(); | 42 NativeLibrary Release(); |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 NativeLibrary library_; | 45 NativeLibrary library_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(ScopedNativeLibrary); | 47 DISALLOW_COPY_AND_ASSIGN(ScopedNativeLibrary); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace base | 50 } // namespace base |
| 51 | 51 |
| 52 #endif // BASE_SCOPED_NATIVE_LIBRARY_H_ | 52 #endif // BASE_MEMORY_SCOPED_NATIVE_LIBRARY_H_ |
| OLD | NEW |