Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: base/scoped_native_library.h

Issue 1548993002: Switch to standard integer types in base/strings/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/i18n/icu_string_conversions_unittest.cc ('k') | base/strings/latin1_string_conversions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/macros.h"
9 #include "base/native_library.h" 10 #include "base/native_library.h"
10 11
11 namespace base { 12 namespace base {
12 13
13 class FilePath; 14 class FilePath;
14 15
15 // A class which encapsulates a base::NativeLibrary object available only in a 16 // A class which encapsulates a base::NativeLibrary object available only in a
16 // scope. 17 // scope.
17 // This class automatically unloads the loaded library in its destructor. 18 // This class automatically unloads the loaded library in its destructor.
18 class BASE_EXPORT ScopedNativeLibrary { 19 class BASE_EXPORT ScopedNativeLibrary {
(...skipping 26 matching lines...) Expand all
45 46
46 private: 47 private:
47 NativeLibrary library_; 48 NativeLibrary library_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(ScopedNativeLibrary); 50 DISALLOW_COPY_AND_ASSIGN(ScopedNativeLibrary);
50 }; 51 };
51 52
52 } // namespace base 53 } // namespace base
53 54
54 #endif // BASE_SCOPED_NATIVE_LIBRARY_H_ 55 #endif // BASE_SCOPED_NATIVE_LIBRARY_H_
OLDNEW
« no previous file with comments | « base/i18n/icu_string_conversions_unittest.cc ('k') | base/strings/latin1_string_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698