Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptions.java |
=================================================================== |
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptions.java |
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/engine/DefaultSubscriptions.java |
@@ -88,16 +88,21 @@ final class DefaultSubscriptions |
return this.urlMap.get(url); |
} |
public DefaultSubscriptionInfo getForUrl(final URL url) |
{ |
return url != null ? this.getForUrl(url.toString()) : null; |
} |
+ public List<DefaultSubscriptionInfo> getAdsSubscriptions() |
+ { |
+ return adsSubscriptions; |
+ } |
+ |
private void listSubscriptions(final List<DefaultSubscriptionInfo> output) |
{ |
for (final DefaultSubscriptionInfo s : this.subscriptions) |
{ |
this.listSubscriptions(s, output); |
} |
} |