Index: libadblockplus-android/src/org/adblockplus/libadblockplus/IsAllowedConnectionCallback.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterChangeCallback.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/IsAllowedConnectionCallback.java |
similarity index 89% |
copy from libadblockplus-android/src/org/adblockplus/libadblockplus/FilterChangeCallback.java |
copy to libadblockplus-android/src/org/adblockplus/libadblockplus/IsAllowedConnectionCallback.java |
index f75cc285a5e810602f489e4a643de2da2445d905..e3e6387f96d8099af12516850e2674f6790abc04 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/FilterChangeCallback.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/IsAllowedConnectionCallback.java |
@@ -17,7 +17,7 @@ |
package org.adblockplus.libadblockplus; |
-public abstract class FilterChangeCallback implements Disposable |
+public abstract class IsAllowedConnectionCallback implements Disposable |
{ |
private final Disposer disposer; |
protected final long ptr; |
@@ -28,13 +28,13 @@ public abstract class FilterChangeCallback implements Disposable |
registerNatives(); |
} |
- public FilterChangeCallback() |
+ public IsAllowedConnectionCallback() |
{ |
this.ptr = ctor(this); |
this.disposer = new Disposer(this, new DisposeWrapper(this.ptr)); |
} |
- public abstract void filterChangeCallback(String action, JsValue jsValue); |
+ public abstract boolean isConnectionAllowed(String connection); |
@Override |
public void dispose() |