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.
5 #include "base/native_library.h"
7 #include "base/logging.h"
11 std::string NativeLibraryLoadError::ToString() const {
16 NativeLibrary LoadNativeLibrary(const base::FilePath& library_path,
17 NativeLibraryLoadError* error) {
23 void UnloadNativeLibrary(NativeLibrary library) {
29 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
36 string16 GetNativeLibraryName(const string16& name) {