| Index: Shared/AdblockPlusClient.h |
| =================================================================== |
| --- a/Shared/AdblockPlusClient.h |
| +++ b/Shared/AdblockPlusClient.h |
| @@ -36,8 +36,6 @@ |
| static CAdblockPlusClient* GetInstance(); |
| - AdblockPlus::FilterEngine* GetFilterEngine(); |
| - |
| // Removes the url from the list of whitelisted urls if present |
| // Only called from ui thread |
| bool ShouldBlock(CString src, int contentType, const CString& domain, bool addDebug=false); |
| @@ -47,6 +45,13 @@ |
| int GetIEVersion(); |
| + bool Matches(const std::string& url, const std::string& contentType, const std::string& domain); |
| + std::vector<std::string> GetElementHidingSelectors(std::string domain); |
| + std::vector<AdblockPlus::SubscriptionPtr> FetchAvailableSubscriptions(); |
| + std::vector<AdblockPlus::FilterPtr> GetListedFilters(); |
| + AdblockPlus::FilterPtr GetFilter(std::string text); |
| + std::vector<AdblockPlus::SubscriptionPtr> GetListedSubscriptions(); |
| + AdblockPlus::SubscriptionPtr GetSubscription(std::string url); |
| }; |
| #endif // _SIMPLE_ADBLOCK_CLIENT_H_ |