Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: base/native_library_ios.mm

Issue 1030253002: Fix missing symbols for pre-linking of the Cast sender library for iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add native_library_ios.mm to base/BUILD.gn. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 namespace base {
8
9 std::string NativeLibraryLoadError::ToString() const {
10 return message;
11 }
12
13 // static
14 NativeLibrary LoadNativeLibrary(const base::FilePath& library_path,
15 NativeLibraryLoadError* error) {
16 return nullptr;
17 }
18
19 // static
20 void UnloadNativeLibrary(NativeLibrary library) {
21 delete library;
miu 2015/03/27 21:26:26 Rather than delete library, consider: DCHECK(!l
jfroy 2015/03/30 18:12:49 Done.
22 }
23
24 // static
25 void* GetFunctionPointerFromNativeLibrary(NativeLibrary library,
26 const char* name) {
27 return nullptr;
miu 2015/03/27 21:26:26 Consider adding NOTREACHED()
jfroy 2015/03/30 18:12:49 Done.
28 }
29
30 // static
31 string16 GetNativeLibraryName(const string16& name) {
32 return name;
33 }
34
35 } // namespace base
OLDNEW
« no previous file with comments | « base/base.gypi ('k') | base/process/process_metrics_ios.cc » ('j') | media/base/video_frame.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698