Index: src/plugin/AdblockPlusClient.h |
diff --git a/src/plugin/AdblockPlusClient.h b/src/plugin/AdblockPlusClient.h |
index 69fd5c4493520a39edb11eef0f0c9190164cc805..6e8a1bb2baa17f31086819deaa4265af577202a7 100644 |
--- a/src/plugin/AdblockPlusClient.h |
+++ b/src/plugin/AdblockPlusClient.h |
@@ -68,9 +68,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); |