Index: libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
similarity index 71% |
copy from libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java |
copy to libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
index dcafa5bdab4e5ab0339369bb78f36a8f41727e5e..ecad4287f7d4d04b4c2b7af2b2398bf6945e8713 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
@@ -15,15 +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 ThrowingWebRequest extends WebRequest |
+public class Subscription implements Serializable |
{ |
- @Override |
- public ServerResponse httpGET(String url, List<HeaderEntry> headers) |
- { |
- throw new RuntimeException("Unexpected GET: " + url); |
- } |
+ public String title; |
+ public String specialization; |
+ public String url; |
+ public String homepage; |
+ public String[] prefixes; |
+ public String author; |
} |