Index: src/org/adblockplus/android/ProxyServerType.java |
diff --git a/src/org/adblockplus/android/Subscription.java b/src/org/adblockplus/android/ProxyServerType.java |
old mode 100755 |
new mode 100644 |
similarity index 79% |
copy from src/org/adblockplus/android/Subscription.java |
copy to src/org/adblockplus/android/ProxyServerType.java |
index de67f9bba5871ec5d3c2e27f93842bd17ac28bed..9a1d56a3b15ab92fef11a76fd36930751f7cf34b |
--- a/src/org/adblockplus/android/Subscription.java |
+++ b/src/org/adblockplus/android/ProxyServerType.java |
@@ -17,12 +17,17 @@ |
package org.adblockplus.android; |
-public class Subscription |
+public enum ProxyServerType |
{ |
- public String title; |
- public String specialization; |
- public String url; |
- public String homepage; |
- public String[] prefixes; |
- public String author; |
+ UNKNOWN, |
+ /** A pure http proxy */ |
+ HTTP, |
+ /** Http and https proxy. */ |
+ HTTPS, |
+ /** SOCKS4 */ |
+ SOCKS4, |
Felix Dahlke
2014/08/19 09:06:00
What is this for? We can't do SOCKS, can we?
René Jeschke
2014/08/19 10:41:33
For being future-proof. I can remove this if you l
|
+ /** SOCKS4A */ |
+ SOCKS4A, |
+ /** SOCKS5 */ |
+ SOCKS5, |
} |