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

Unified Diff: Shared/AdblockPlusClient.h

Issue 10580043: Run a single FilterEngine instance in a separate process (Closed)
Patch Set: Addressed review issues Created May 23, 2013, 7:10 p.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
« no previous file with comments | « AdblockPlusEngine/main.cpp ('k') | Shared/AdblockPlusClient.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « AdblockPlusEngine/main.cpp ('k') | Shared/AdblockPlusClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld