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

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

Issue 29361445: Issue 4399 - Add WebView inheritor with ad blocking (Closed)
Patch Set: fixed 2 more members in AdblockEngine Created Dec. 16, 2016, 8:31 a.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: libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java
similarity index 71%
copy from libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java
copy to libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java
index d92e47b05b8e7406c90f2e3e94c3088c2d64d167..ecad4287f7d4d04b4c2b7af2b2398bf6945e8713 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java
@@ -15,16 +15,16 @@
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
-package org.adblockplus.libadblockplus;
+package org.adblockplus.libadblockplus.android;
-import java.util.List;
+import java.io.Serializable;
-public class MockWebRequest extends WebRequest
+public class Subscription implements Serializable
{
- public ServerResponse response = new ServerResponse();
-
- public ServerResponse httpGET(String url, List<HeaderEntry> headers)
- {
- return response;
- }
+ public String title;
+ public String specialization;
+ public String url;
+ public String homepage;
+ public String[] prefixes;
+ public String author;
}

Powered by Google App Engine
This is Rietveld