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

Delta Between Two Patch Sets: src/org/adblockplus/android/ABPEngine.java

Issue 5172657418928128: Determine the frame structure (Closed)
Left Patch Set: Created Nov. 23, 2013, 12:03 a.m.
Right Patch Set: Build referrer chains iteratively and limit their length Created Nov. 27, 2013, 2:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « jni/abpEngine.cpp ('k') | src/org/adblockplus/android/AdblockPlus.java » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2013 Eyeo GmbH 3 * Copyright (C) 2006-2013 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 public native void addSubscription(String url); 85 public native void addSubscription(String url);
86 86
87 public native void removeSubscription(String url); 87 public native void removeSubscription(String url);
88 88
89 public native void refreshSubscription(String url); 89 public native void refreshSubscription(String url);
90 90
91 public native void actualizeSubscriptionStatus(String url); 91 public native void actualizeSubscriptionStatus(String url);
92 92
93 public native void setAcceptableAdsEnabled(boolean enabled); 93 public native void setAcceptableAdsEnabled(boolean enabled);
94 94
95 public native String getDocumentationLink();
96
95 public native boolean matches(String url, String contentType, String[] documen tUrls); 97 public native boolean matches(String url, String contentType, String[] documen tUrls);
96 98
97 public native String[] getSelectorsForDomain(String domain); 99 public native String[] getSelectorsForDomain(String domain);
98 100
99 public native void checkUpdates(); 101 public native void checkUpdates();
100 102
101 private Notification getNotification(String url, String error) 103 private Notification getNotification(String url, String error)
102 { 104 {
103 final PendingIntent emptyIntent = PendingIntent.getActivity(context, 0, new Intent(), 0); 105 final PendingIntent emptyIntent = PendingIntent.getActivity(context, 0, new Intent(), 0);
104 106
(...skipping 29 matching lines...) Expand all
134 136
135 Notification notification = builder.getNotification(); 137 Notification notification = builder.getNotification();
136 return notification; 138 return notification;
137 } 139 }
138 140
139 static 141 static
140 { 142 {
141 System.loadLibrary("abpEngine"); 143 System.loadLibrary("abpEngine");
142 } 144 }
143 } 145 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld