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

Unified Diff: compiled/RegExpFilter.h

Issue 29383799: Issue 4988 - [emscripten] Adjust API for Element Hiding Emulation filters (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created March 14, 2017, 2:42 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: compiled/RegExpFilter.h
===================================================================
--- a/compiled/RegExpFilter.h
+++ b/compiled/RegExpFilter.h
@@ -85,12 +85,11 @@ protected:
DomainMap* GetDomains() const override;
SitekeySet* GetSitekeys() const override;
public:
explicit RegExpFilter(Type type, const String& text, const RegExpFilterData& data);
~RegExpFilter();
static Type Parse(DependentString& text, DependentString& error,
RegExpFilterData& data);
EMSCRIPTEN_KEEPALIVE static void InitJSTypes();
- static OwnedString RegExpFromSource(const String& source);
EMSCRIPTEN_KEEPALIVE bool Matches(const String& location, int typeMask,
DependentString& docDomain, bool thirdParty, const String& sitekey) const;
};

Powered by Google App Engine
This is Rietveld