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

Side by Side Diff: base/native_library_ios.mm

Issue 2042103002: Clean up some nits in base::NativeLibrary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 #include "base/native_library.h" 5 #include "base/native_library.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace base { 9 namespace base {
10 10
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 // static 24 // static
25 void UnloadNativeLibrary(NativeLibrary library) { 25 void UnloadNativeLibrary(NativeLibrary library) {
26 NOTIMPLEMENTED(); 26 NOTIMPLEMENTED();
27 DCHECK(!library); 27 DCHECK(!library);
28 } 28 }
29 29
30 // static 30 // static
31 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library, 31 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
32 const char* name) { 32 StringPiece name) {
33 NOTIMPLEMENTED(); 33 NOTIMPLEMENTED();
34 return nullptr; 34 return nullptr;
35 } 35 }
36 36
37 // static 37 // static
38 string16 GetNativeLibraryName(const string16& name) { 38 string16 GetNativeLibraryName(StringPiece16 name) {
39 return name; 39 return name.as_string();
40 } 40 }
41 41
42 } // namespace base 42 } // namespace base
OLDNEW
« no previous file with comments | « base/native_library.h ('k') | base/native_library_mac.mm » ('j') | base/native_library_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698