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

Unified Diff: include/AdblockPlus/FilterEngine.h

Issue 23127017: Consider the frame structure in Matches() (Closed)
Patch Set: Better test coverage Created Nov. 15, 2013, 8:15 a.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 | « no previous file | src/FilterEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/FilterEngine.h
===================================================================
--- a/include/AdblockPlus/FilterEngine.h
+++ b/include/AdblockPlus/FilterEngine.h
@@ -82,6 +82,9 @@
FilterPtr Matches(const std::string& url,
const std::string& contentType,
const std::string& documentUrl) const;
+ FilterPtr Matches(const std::string& url,
+ const std::string& contentType,
+ const std::vector<std::string>& documentUrls) const;
std::vector<std::string> GetElementHidingSelectors(const std::string& domain) const;
JsValuePtr GetPref(const std::string& pref) const;
void SetPref(const std::string& pref, JsValuePtr value);
@@ -96,6 +99,9 @@
int updateCheckId;
void InitDone(JsValueList& params);
+ FilterPtr CheckFilterMatch(const std::string& url,
+ const std::string& contentType,
+ const std::string& documentUrl) const;
void UpdateCheckDone(const std::string& eventName, UpdaterCallback callback, JsValueList& params);
void FilterChanged(FilterChangeCallback callback, JsValueList& params);
};
« no previous file with comments | « no previous file | src/FilterEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld