Index: src/engine/Main.cpp |
=================================================================== |
--- a/src/engine/Main.cpp |
+++ b/src/engine/Main.cpp |
@@ -96,6 +96,15 @@ |
response << (filter && filter->GetType() != AdblockPlus::Filter::TYPE_EXCEPTION); |
break; |
} |
+ case Communication::PROC_HIDING_ENABLED_ON_DOMAIN: |
Felix Dahlke
2014/08/08 16:11:35
Since this is conceptually very similar to PROC_IS
|
+ { |
+ std::string type; |
Felix Dahlke
2014/08/08 16:11:35
Unused, isn't it?
|
+ std::string documentUrl; |
+ request >> documentUrl; |
+ AdblockPlus::FilterPtr filter = filterEngine->Matches(documentUrl, "ELEMHIDE", documentUrl); |
+ response << (!filter); |
Felix Dahlke
2014/08/08 16:11:35
Superfluous parentheses.
More importantly, this o
|
+ break; |
+ } |
case Communication::PROC_GET_ELEMHIDE_SELECTORS: |
{ |
std::string domain; |