Index: base/native_library.h |
diff --git a/base/native_library.h b/base/native_library.h |
index 6c835f2a827e3bfcd7712b84ec71b1e24b3c7869..01c18ec65275d2131de26b0844ba8582c33b1fb0 100644 |
--- a/base/native_library.h |
+++ b/base/native_library.h |
@@ -46,6 +46,14 @@ struct NativeLibraryStruct { |
typedef NativeLibraryStruct* NativeLibrary; |
#elif defined(OS_LINUX) |
typedef void* NativeLibrary; |
+ |
+// By default, we load libraries with "deep bind", meaning library-defined |
+// symbols take precedence over the executable symbols. That makes sure we |
+// aren't polluting the library's namespace. |
+// However, in some cases, we do want to override some symbols in the library |
+// to work-around bugs, so we add the library path to a set of "shallow bound" |
+// libraries. |
+void AddShallowBindPath(const FilePath& library_path); |
#endif // OS_* |
// Loads a native library from disk. Release it with UnloadNativeLibrary when |