Chromium Code Reviews| Index: base/native_library_ios.mm |
| diff --git a/base/native_library_ios.mm b/base/native_library_ios.mm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..44eb680792695383a3bc89cf3d4d577369f0eb9b |
| --- /dev/null |
| +++ b/base/native_library_ios.mm |
| @@ -0,0 +1,35 @@ |
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "base/native_library.h" |
| + |
| +namespace base { |
| + |
| +std::string NativeLibraryLoadError::ToString() const { |
| + return message; |
| +} |
| + |
| +// static |
| +NativeLibrary LoadNativeLibrary(const base::FilePath& library_path, |
| + NativeLibraryLoadError* error) { |
| + return nullptr; |
| +} |
| + |
| +// static |
| +void UnloadNativeLibrary(NativeLibrary library) { |
| + delete library; |
|
miu
2015/03/27 21:26:26
Rather than delete library, consider:
DCHECK(!l
jfroy
2015/03/30 18:12:49
Done.
|
| +} |
| + |
| +// static |
| +void* GetFunctionPointerFromNativeLibrary(NativeLibrary library, |
| + const char* name) { |
| + return nullptr; |
|
miu
2015/03/27 21:26:26
Consider adding NOTREACHED()
jfroy
2015/03/30 18:12:49
Done.
|
| +} |
| + |
| +// static |
| +string16 GetNativeLibraryName(const string16& name) { |
| + return name; |
| +} |
| + |
| +} // namespace base |