Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android/jni/JniJsValue.h

Issue 29345737: Issue 4146 - Fix failing UpdateCheckTest.testApplicationUpdateAvailable test in libadblockplus-andr… (Closed)
Patch Set: moved entry points to JniLibrary.cpp Created Sept. 14, 2016, 7:38 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: libadblockplus-android/jni/JniJsValue.h
diff --git a/libadblockplus-android/jni/JniJsValue.h b/libadblockplus-android/jni/JniJsValue.h
index f332ea9430e7cb10f55c0eac43ad61500b2c6a86..6003af521b8af14b5b302d804a3c9185e9b7fba3 100644
--- a/libadblockplus-android/jni/JniJsValue.h
+++ b/libadblockplus-android/jni/JniJsValue.h
@@ -21,6 +21,8 @@
#include <jni.h>
#include <AdblockPlus/JsValue.h>
+void JniJsValue_OnLoad(JavaVM* vm, JNIEnv* env, void* reserved);
+
jobject NewJniJsValue(JNIEnv* env, const AdblockPlus::JsValuePtr& jsValue, jclass jsValueClass = 0);
jobject JniJsValueListToArrayList(JNIEnv* env, AdblockPlus::JsValueList& list);
@@ -29,4 +31,6 @@ AdblockPlus::JsValue* JniGetJsValue(jlong ptr);
AdblockPlus::JsValuePtr& JniGetJsValuePtr(jlong ptr);
+void JniJsValue_OnUnload(JavaVM *vm, JNIEnv *env, void *reserved);
Felix Dahlke 2016/09/15 13:01:19 Nit: Maybe it's just me, but I think I'd find it e
anton 2016/09/15 13:28:18 Acknowledged.
+
#endif /* JNIJSVALUE_H */

Powered by Google App Engine
This is Rietveld