Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/FilterEngine.cpp

Issue 29512648: Issue 5475 - Update adblockpluscore dependency to revision hg:b935a0402215 (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created Aug. 11, 2017, 12:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/FilterEngine.cpp
diff --git a/src/FilterEngine.cpp b/src/FilterEngine.cpp
index 5d2082d79aa7cc36f1b42a6b2041c96ee16d526e..0032ccd46bd7b99fc6b782a319b44d7a1bd833b9 100644
--- a/src/FilterEngine.cpp
+++ b/src/FilterEngine.cpp
@@ -72,6 +72,8 @@ Filter::Type Filter::GetType() const
return TYPE_ELEMHIDE;
else if (className == "ElemHideException")
return TYPE_ELEMHIDE_EXCEPTION;
+ else if (className == "ElemHideEmulationFilter")
+ return TYPE_TYPE_ELEMHIDE_EMULATION;
else if (className == "CommentFilter")
return TYPE_COMMENT;
else
@@ -273,6 +275,8 @@ namespace
contentTypes[FilterEngine::CONTENT_TYPE_OBJECT] = "OBJECT";
contentTypes[FilterEngine::CONTENT_TYPE_SUBDOCUMENT] = "SUBDOCUMENT";
contentTypes[FilterEngine::CONTENT_TYPE_DOCUMENT] = "DOCUMENT";
+ contentTypes[FilterEngine::CONTENT_TYPE_WEBSOCKET] = "WEBSOCKET";
+ contentTypes[FilterEngine::CONTENT_TYPE_WEBRTC] = "WEBRTC";
contentTypes[FilterEngine::CONTENT_TYPE_PING] = "PING";
contentTypes[FilterEngine::CONTENT_TYPE_XMLHTTPREQUEST] = "XMLHTTPREQUEST";
contentTypes[FilterEngine::CONTENT_TYPE_OBJECT_SUBREQUEST] = "OBJECT_SUBREQUEST";
« libadblockplus.gyp ('K') | « src/FileSystemJsObject.cpp ('k') | src/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld