Index: libadblockplus-android/jni/JniJsEngine.h |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/LazyWebRequest.java b/libadblockplus-android/jni/JniJsEngine.h |
similarity index 75% |
copy from libadblockplus-android-tests/src/org/adblockplus/libadblockplus/LazyWebRequest.java |
copy to libadblockplus-android/jni/JniJsEngine.h |
index 43cc3d6cc3d4668f3f50198bd1ed35f36ce7c5f6..67c64a02a0884ae61642112aed56c667be538a70 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/LazyWebRequest.java |
+++ b/libadblockplus-android/jni/JniJsEngine.h |
@@ -15,18 +15,16 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-package org.adblockplus.libadblockplus; |
+#ifndef JNI_JS_ENGINE_H |
+#define JNI_JS_ENGINE_H |
-import java.util.List; |
+#include <AdblockPlus/ITimer.h> |
+#include <AdblockPlus/JsEngine.h> |
-public class LazyWebRequest extends WebRequest |
+struct JniJsEngine |
anton
2017/06/15 05:51:53
Rietveld bug again, and the patch can't be applied
|
{ |
- @Override |
- public ServerResponse httpGET(String url, List<HeaderEntry> headers) |
- { |
- while (true) |
- { |
+ AdblockPlus::ITimer* timer; |
+ AdblockPlus::JsEnginePtr jsEngine; |
+}; |
- } |
- } |
-} |
+#endif /* JNI_JS_ENGINE_H */ |