Index: base/native_library_mac.mm |
diff --git a/base/native_library_mac.mm b/base/native_library_mac.mm |
index f2df0a711a436087c3ff15f99fa2406c3b9b8957..db770c6c374e8cf678d6f6f23bcdb58e60ba0e92 100644 |
--- a/base/native_library_mac.mm |
+++ b/base/native_library_mac.mm |
@@ -39,8 +39,9 @@ std::string NativeLibraryLoadError::ToString() const { |
} |
// static |
-NativeLibrary LoadNativeLibrary(const FilePath& library_path, |
- NativeLibraryLoadError* error) { |
+NativeLibrary LoadNativeLibraryWithOptions(const FilePath& library_path, |
+ const NativeLibraryOptions& options, |
+ NativeLibraryLoadError* error) { |
// dlopen() etc. open the file off disk. |
Primiano Tucci (use gerrit)
2016/08/24 22:14:09
I think here you want to CHECK that you don't have
Ken Rockot(use gerrit already)
2016/08/24 23:23:57
I would prefer we silently ignore the option since
Primiano Tucci (use gerrit)
2016/08/25 10:20:44
Silently changing ignoring a requested behavior fe
Ken Rockot(use gerrit already)
2016/08/25 15:52:12
If we were actually going to make the feature unav
Primiano Tucci (use gerrit)
2016/08/25 16:14:33
Oh hold on, I think we might be saying the same th
|
if (library_path.Extension() == "dylib" || !DirectoryExists(library_path)) { |
void* dylib = dlopen(library_path.value().c_str(), RTLD_LAZY); |