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

Side by Side Diff: base/native_library_posix.cc

Issue 8567001: rename some base _linux files to _posix so that others can use it too (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: s/c/cc/g and order Created 9 years, 1 month 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/native_library_linux.cc ('k') | base/sys_string_conversions_linux.cc » ('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 #include "base/native_library.h" 5 #include "base/native_library.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 const char* name) { 44 const char* name) {
45 return dlsym(library, name); 45 return dlsym(library, name);
46 } 46 }
47 47
48 // static 48 // static
49 string16 GetNativeLibraryName(const string16& name) { 49 string16 GetNativeLibraryName(const string16& name) {
50 return ASCIIToUTF16("lib") + name + ASCIIToUTF16(".so"); 50 return ASCIIToUTF16("lib") + name + ASCIIToUTF16(".so");
51 } 51 }
52 52
53 } // namespace base 53 } // namespace base
OLDNEW
« no previous file with comments | « base/native_library_linux.cc ('k') | base/sys_string_conversions_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698