Index: ui/gl/gl_implementation.h |
diff --git a/ui/gl/gl_implementation.h b/ui/gl/gl_implementation.h |
index eab70dc35989579cc2d56998024fc568c0d222ab..502daeefbd82ae874294f5332e9d8c8dc53f4d74 100644 |
--- a/ui/gl/gl_implementation.h |
+++ b/ui/gl/gl_implementation.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include <vector> |
+#include "base/files/file_path.h" |
#include "base/native_library.h" |
#include "build/build_config.h" |
#include "ui/gl/gl_export.h" |
@@ -135,6 +136,11 @@ GL_EXPORT std::string GetGLExtensionsFromCurrentContext(); |
// be used in the function above. |
GL_EXPORT bool WillUseGLGetStringForExtensions(); |
+// Helpers to load a library and log error on failure. |
+base::NativeLibrary LoadLibraryAndPrintError( |
+ const base::FilePath::CharType* filename); |
+base::NativeLibrary LoadLibraryAndPrintError(const base::FilePath& filename); |
+ |
} // namespace gfx |
#endif // UI_GL_GL_IMPLEMENTATION_H_ |