fixup! [M120 Migration] Notify media device state to webbrowser
[platform/framework/web/chromium-efl.git] / base / native_library_ios.mm
1 // Copyright 2015 The Chromium Authors
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/check.h"
8 #include "base/notreached.h"
9 #include "base/strings/string_piece.h"
10 #include "base/strings/string_util.h"
11
12 namespace base {
13
14 std::string NativeLibraryLoadError::ToString() const {
15   return message;
16 }
17
18 NativeLibrary LoadNativeLibraryWithOptions(const base::FilePath& library_path,
19                                            const NativeLibraryOptions& options,
20                                            NativeLibraryLoadError* error) {
21   NOTIMPLEMENTED();
22   if (error)
23     error->message = "Not implemented.";
24   return nullptr;
25 }
26
27 void UnloadNativeLibrary(NativeLibrary library) {
28   NOTIMPLEMENTED();
29   DCHECK(!library);
30 }
31
32 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
33                                           const char* name) {
34   NOTIMPLEMENTED();
35   return nullptr;
36 }
37
38 std::string GetNativeLibraryName(StringPiece name) {
39   DCHECK(IsStringASCII(name));
40   return std::string(name);
41 }
42
43 std::string GetLoadableModuleName(StringPiece name) {
44   return GetNativeLibraryName(name);
45 }
46
47 }  // namespace base