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

Delta Between Two Patch Sets: mobile/android/thirdparty/org/adblockplus/browser/MoreSubscriptionsPreferenceGroup.java

Issue 29322610: Issue 2720 - [Adblocking settings] Add the other filter lists category (Closed)
Left Patch Set: postToHandler somehow got swallowed. Created July 30, 2015, 11:22 a.m.
Right Patch Set: Last naming nit Created July 31, 2015, 9:36 a.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
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 private static final HashMap<String, Integer> BUILTIN_URL_TO_INDEX = new HashM ap<String, Integer>(); 44 private static final HashMap<String, Integer> BUILTIN_URL_TO_INDEX = new HashM ap<String, Integer>();
45 private static final HashSet<String> IGNORED_URLS = new HashSet<String>(); 45 private static final HashSet<String> IGNORED_URLS = new HashSet<String>();
46 private static SubscriptionContainer recommendedSubscriptions = null; 46 private static SubscriptionContainer recommendedSubscriptions = null;
47 47
48 private final CheckBoxChangeListener checkBoxChangeListener = new CheckBoxChan geListener(); 48 private final CheckBoxChangeListener checkBoxChangeListener = new CheckBoxChan geListener();
49 private final ActiveSubscriptionContainer activeSubscriptions = new ActiveSubs criptionContainer(); 49 private final ActiveSubscriptionContainer activeSubscriptions = new ActiveSubs criptionContainer();
50 private ProgressDialog progressDialog; 50 private ProgressDialog progressDialog;
51 51
52 private static final int[] BUILTIN_TITLES = 52 private static final int[] BUILTIN_TITLES =
53 { 53 {
54 R.string.abb_list_disable_tracking, 54 R.string.abb_subscription_disable_tracking,
55 R.string.abb_list_disable_malware, 55 R.string.abb_subscription_disable_malware,
56 R.string.abb_list_disable_anti_adblock, 56 R.string.abb_subscription_disable_anti_adblock,
57 R.string.abb_list_disable_social_media 57 R.string.abb_subscription_disable_social_media
58 }; 58 };
59 59
60 private static final String[] BUILTIN_LISTS = 60 private static final String[] BUILTIN_LISTS =
61 { 61 {
62 "EasyPrivacy", 62 "EasyPrivacy",
63 "https://easylist-downloads.adblockplus.org/easyprivacy.txt", 63 "https://easylist-downloads.adblockplus.org/easyprivacy.txt",
64 "Malware Domains", 64 "Malware Domains",
65 "https://easylist-downloads.adblockplus.org/malwaredomains_full.txt", 65 "https://easylist-downloads.adblockplus.org/malwaredomains_full.txt",
66 "Adblock Warning Removal List", 66 "Adblock Warning Removal List",
67 "https://easylist-downloads.adblockplus.org/antiadblockfilters.txt", 67 "https://easylist-downloads.adblockplus.org/antiadblockfilters.txt",
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 // ignored 348 // ignored
349 } 349 }
350 350
351 @Override 351 @Override
352 public void onApiRequestFailed(String errorMessage) 352 public void onApiRequestFailed(String errorMessage)
353 { 353 {
354 // ignored 354 // ignored
355 } 355 }
356 } 356 }
357 } 357 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld