Index: src/plugin/AdblockPlusClient.h |
diff --git a/src/plugin/AdblockPlusClient.h b/src/plugin/AdblockPlusClient.h |
index 057681f6bdf2fbc2156b61d7f3a6319f484e8d35..91504a46d15eb308406b67d0a6bacd46739153df 100644 |
--- a/src/plugin/AdblockPlusClient.h |
+++ b/src/plugin/AdblockPlusClient.h |
@@ -71,9 +71,9 @@ public: |
bool ShouldBlock(const std::wstring& src, AdblockPlus::FilterEngine::ContentType contentType, const std::wstring& domain, bool addDebug=false); |
bool IsElementHidden(const std::wstring& tag, IHTMLElement* pEl, const std::wstring& domain, const std::wstring& indent, CPluginFilter* filter); |
- bool IsWhitelistedUrl(const std::wstring& url); |
- std::string GetWhitelistingFilter(const std::wstring& url); |
- bool IsElemhideWhitelistedOnDomain(const std::wstring& url); |
+ bool IsWhitelistedUrl(const std::wstring& url, const std::vector<std::string>& frameHierarchy = std::vector<std::string>()); |
+ std::string GetWhitelistingFilter(const std::wstring& url, const std::vector<std::string>& frameHierarchy = std::vector<std::string>()); |
+ bool IsElemhideWhitelistedOnDomain(const std::wstring& url, const std::vector<std::string>& frameHierarchy = std::vector<std::string>()); |
bool Matches(const std::wstring& url, AdblockPlus::FilterEngine::ContentType contentType, const std::wstring& domain); |
std::vector<std::wstring> GetElementHidingSelectors(const std::wstring& domain); |