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

Unified Diff: adblock-android/src/org/adblockplus/libadblockplus/FilterEngine.java

Issue 29908555: Issue 7035 - Update libadblockplus dependency (Closed) Base URL: git@github.com:adblockplus/libadblockplus-android.git@d150f08d5d72de8938c7ebbdccd9b0c4e06b4070
Patch Set: Issue 7035 - Update libadblockplus dependency Created Oct. 16, 2018, 3:17 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
Index: adblock-android/src/org/adblockplus/libadblockplus/FilterEngine.java
diff --git a/adblock-android/src/org/adblockplus/libadblockplus/FilterEngine.java b/adblock-android/src/org/adblockplus/libadblockplus/FilterEngine.java
index 182ef7499b190366617a73496af6ba2bda33e15c..a6fa9017141f99886467949206afe885e93c0284 100644
--- a/adblock-android/src/org/adblockplus/libadblockplus/FilterEngine.java
+++ b/adblock-android/src/org/adblockplus/libadblockplus/FilterEngine.java
@@ -71,16 +71,6 @@ public final class FilterEngine
return fetchAvailableSubscriptions(this.ptr);
}
- public void removeUpdateAvailableCallback()
- {
- removeUpdateAvailableCallback(this.ptr);
- }
-
- public void setUpdateAvailableCallback(final UpdateAvailableCallback callback)
- {
- setUpdateAvailableCallback(this.ptr, callback.ptr);
- }
-
public void removeFilterChangeCallback()
{
removeFilterChangeCallback(this.ptr);
@@ -91,16 +81,6 @@ public final class FilterEngine
setFilterChangeCallback(this.ptr, callback.ptr);
}
- public void forceUpdateCheck()
- {
- forceUpdateCheck(this.ptr, 0);
- }
-
- public void forceUpdateCheck(final UpdateCheckDoneCallback callback)
- {
- forceUpdateCheck(this.ptr, callback != null ? callback.ptr : 0);
- }
-
public List<String> getElementHidingSelectors(final String domain)
{
return getElementHidingSelectors(this.ptr, domain);
@@ -218,16 +198,10 @@ public final class FilterEngine
private final static native List<Subscription> fetchAvailableSubscriptions(long ptr);
- private final static native void removeUpdateAvailableCallback(long ptr);
-
- private final static native void setUpdateAvailableCallback(long ptr, long filterPtr);
-
private final static native void removeFilterChangeCallback(long ptr);
private final static native void setFilterChangeCallback(long ptr, long filterPtr);
- private final static native void forceUpdateCheck(long ptr, long updatePtr);
-
private final static native List<String> getElementHidingSelectors(long ptr, String domain);
private final static native void showNextNotification(long ptr, String url);

Powered by Google App Engine
This is Rietveld