| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/native_library.h" | |
| 6 | |
| 7 #include "base/logging.h" | |
| 8 | |
| 9 namespace base { | |
| 10 | |
| 11 std::string NativeLibraryLoadError::ToString() const { | |
| 12 return message; | |
| 13 } | |
| 14 | |
| 15 // static | |
| 16 NativeLibrary LoadNativeLibrary(const base::FilePath& library_path, | |
| 17 NativeLibraryLoadError* error) { | |
| 18 NOTIMPLEMENTED(); | |
| 19 return nullptr; | |
| 20 } | |
| 21 | |
| 22 // static | |
| 23 void UnloadNativeLibrary(NativeLibrary library) { | |
| 24 NOTIMPLEMENTED(); | |
| 25 DCHECK(!library); | |
| 26 } | |
| 27 | |
| 28 // static | |
| 29 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library, | |
| 30 const char* name) { | |
| 31 NOTIMPLEMENTED(); | |
| 32 return nullptr; | |
| 33 } | |
| 34 | |
| 35 // static | |
| 36 string16 GetNativeLibraryName(const string16& name) { | |
| 37 return name; | |
| 38 } | |
| 39 | |
| 40 } // namespace base | |
| OLD | NEW |