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

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

Issue 29354787: Issue 4442 - Cache class and ctors references in JNI_Load/UnLoad (Closed)
Patch Set: reverted to NewTuple Created Nov. 21, 2016, 8:25 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
« no previous file with comments | « libadblockplus-android/jni/JniLibrary.cpp ('k') | libadblockplus-android/jni/JniLogSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libadblockplus-android/jni/JniLogSystem.h
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java b/libadblockplus-android/jni/JniLogSystem.h
similarity index 75%
copy from libadblockplus-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java
copy to libadblockplus-android/jni/JniLogSystem.h
index a7988cb8b932e37f6014c4b55763ac95357e5662..2d7f6c6feb1815f1614dd92539458ab4a64c6af7 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java
+++ b/libadblockplus-android/jni/JniLogSystem.h
@@ -15,12 +15,13 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
-package org.adblockplus.libadblockplus;
+#ifndef JNILOGSYSTEM_H
+#define JNILOGSYSTEM_H
-public class NoOpUpdaterCallback extends UpdateCheckDoneCallback
-{
- @Override
- public void updateCheckDoneCallback(String error)
- {
- }
-}
+#include <jni.h>
+
+void JniLogSystem_OnLoad(JavaVM* vm, JNIEnv* env, void* reserved);
+
+void JniLogSystem_OnUnload(JavaVM* vm, JNIEnv* env, void* reserved);
+
+#endif /* JNILOGSYSTEM_H */
« no previous file with comments | « libadblockplus-android/jni/JniLibrary.cpp ('k') | libadblockplus-android/jni/JniLogSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld