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

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

Issue 29465639: Issue 5309 - Subscriptions update causes ANR (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: rebase Created July 5, 2017, 1:47 p.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/JniFilterEngine.cpp ('k') | libadblockplus-android/jni/JniJsEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
{
- @Override
- public ServerResponse httpGET(String url, List<HeaderEntry> headers)
- {
- while (true)
- {
+ AdblockPlus::ITimer* timer;
+ AdblockPlus::JsEnginePtr jsEngine;
+};
- }
- }
-}
+#endif /* JNI_JS_ENGINE_H */
« no previous file with comments | « libadblockplus-android/jni/JniFilterEngine.cpp ('k') | libadblockplus-android/jni/JniJsEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld