| Index: content/public/app/android_library_loader_hooks.h
|
| diff --git a/content/public/app/android_library_loader_hooks.h b/content/public/app/android_library_loader_hooks.h
|
| index a980005ee5697b1ccd6ce3ac6d909e6b61538d76..3fc6e925989e80656d5f1be3bb2f51e469448f94 100644
|
| --- a/content/public/app/android_library_loader_hooks.h
|
| +++ b/content/public/app/android_library_loader_hooks.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #include <jni.h>
|
|
|
| +#include <string>
|
| +
|
| #include "base/basictypes.h"
|
| #include "content/common/content_export.h"
|
|
|
| @@ -23,6 +25,10 @@ CONTENT_EXPORT bool RegisterLibraryLoaderEntryHook(JNIEnv* env);
|
| // during JNI_OnLoad.
|
| CONTENT_EXPORT bool EnsureJniRegistered(JNIEnv* env);
|
|
|
| +// Pass the version name to Content. This used to check that the library version
|
| +// matches the version expected by Java before completing JNI registration.
|
| +CONTENT_EXPORT void SetVersionName(const std::string & version_name);
|
| +
|
| // Call on exit to delete the AtExitManager which OnLibraryLoadedOnUIThread
|
| // created.
|
| CONTENT_EXPORT void LibraryLoaderExitHook();
|
|
|