Index: src/plugin/AdblockPlusClient.cpp |
diff --git a/src/plugin/AdblockPlusClient.cpp b/src/plugin/AdblockPlusClient.cpp |
index 922f3451e6979f4e60d3fdc6d4df02762465d28c..fd2d2da8a42c3c9d285959d7981bc884a3fe8621 100644 |
--- a/src/plugin/AdblockPlusClient.cpp |
+++ b/src/plugin/AdblockPlusClient.cpp |
@@ -256,11 +256,11 @@ bool CAdblockPlusClient::IsElementHidden(const std::wstring& tag, IHTMLElement* |
return isHidden; |
} |
-bool CAdblockPlusClient::IsWhitelistedUrl(const std::wstring& url) |
+bool CAdblockPlusClient::IsWhitelistedUrl(const std::wstring& url, const std::vector<std::string>& frameHierarchy) |
{ |
DEBUG_GENERAL((L"IsWhitelistedUrl: " + url + L" start").c_str()); |
Communication::OutputBuffer request; |
- request << Communication::PROC_IS_WHITELISTED_URL << ToUtf8String(url); |
+ request << Communication::PROC_IS_WHITELISTED_URL << ToUtf8String(url) << frameHierarchy; |
Communication::InputBuffer response; |
if (!CallEngine(request, response)) |
@@ -273,10 +273,10 @@ bool CAdblockPlusClient::IsWhitelistedUrl(const std::wstring& url) |
return isWhitelisted; |
} |
-bool CAdblockPlusClient::IsElemhideWhitelistedOnDomain(const std::wstring& url) |
+bool CAdblockPlusClient::IsElemhideWhitelistedOnDomain(const std::wstring& url, const std::vector<std::string>& frameHierarchy) |
{ |
Communication::OutputBuffer request; |
- request << Communication::PROC_IS_ELEMHIDE_WHITELISTED_ON_URL << ToUtf8String(url); |
+ request << Communication::PROC_IS_ELEMHIDE_WHITELISTED_ON_URL << ToUtf8String(url) << frameHierarchy; |
Communication::InputBuffer response; |
if (!CallEngine(request, response)) |