| Index: base/android/jni_android.h
|
| diff --git a/base/android/jni_android.h b/base/android/jni_android.h
|
| index 878798e41a1dd3cfa753bf8646df4c6608380294..492f11ff90bbcafbd70a8a8f659287eddd94d23a 100644
|
| --- a/base/android/jni_android.h
|
| +++ b/base/android/jni_android.h
|
| @@ -17,6 +17,12 @@ namespace android {
|
| // Used to mark symbols to be exported in a shared library's symbol table.
|
| #define JNI_EXPORT __attribute__ ((visibility("default")))
|
|
|
| +// Contains the registration method information for initializing JNI bindings.
|
| +struct RegistrationMethod {
|
| + const char* name;
|
| + bool (*func)(JNIEnv* env);
|
| +};
|
| +
|
| // Attach the current thread to the VM (if necessary) and return the JNIEnv*.
|
| JNIEnv* AttachCurrentThread();
|
|
|
|
|