Remove wpr.archive_info dependancy on page to avoid circular dependancies.
[chromium-blink-merge.git] / base / native_library_ios.mm
blob030c171ecebc3d30bb197327469b955a042b4ff7
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"
9 namespace base {
11 std::string NativeLibraryLoadError::ToString() const {
12   return message;
15 // static
16 NativeLibrary LoadNativeLibrary(const base::FilePath& library_path,
17                                 NativeLibraryLoadError* error) {
18   NOTIMPLEMENTED();
19   return nullptr;
22 // static
23 void UnloadNativeLibrary(NativeLibrary library) {
24   NOTIMPLEMENTED();
25   DCHECK(!library);
28 // static
29 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
30                                           const char* name) {
31   NOTIMPLEMENTED();
32   return nullptr;
35 // static
36 string16 GetNativeLibraryName(const string16& name) {
37   return name;
40 }  // namespace base