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

Unified Diff: base/native_library.h

Issue 155558: linux: add flash workarounds (Closed)
Patch Set: Created 11 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/native_library_linux.cc » ('j') | webkit/glue/plugins/plugin_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | base/native_library_linux.cc » ('j') | webkit/glue/plugins/plugin_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698