Index: src/plugin/AdblockPlusClient.cpp |
=================================================================== |
--- a/src/plugin/AdblockPlusClient.cpp |
+++ b/src/plugin/AdblockPlusClient.cpp |
@@ -316,6 +316,20 @@ |
return match; |
} |
+bool CAdblockPlusClient::HidingEnabledOnDomain(const std::wstring& domain) |
+{ |
+ Communication::OutputBuffer request; |
+ request << Communication::PROC_HIDING_ENABLED_ON_DOMAIN << ToUtf8String(domain); |
+ |
+ Communication::InputBuffer response; |
+ if (!CallEngine(request, response)) |
+ return false; |
+ |
+ bool match; |
+ response >> match; |
+ return match; |
+} |
+ |
std::vector<std::wstring> CAdblockPlusClient::GetElementHidingSelectors(const std::wstring& domain) |
{ |
Communication::OutputBuffer request; |