Index: compiled/filter/RegExpFilter.h |
=================================================================== |
--- a/compiled/filter/RegExpFilter.h |
+++ b/compiled/filter/RegExpFilter.h |
@@ -98,16 +98,17 @@ private: |
void ParseSitekeys(const String& sitekeys) const; |
protected: |
RegExpFilterData mData; |
DomainMap* GetDomains() const override; |
SitekeySet* GetSitekeys() const override; |
public: |
+ static constexpr Type classType = Type::REGEXP; |
explicit RegExpFilter(Type type, const String& text, const RegExpFilterData& data); |
~RegExpFilter(); |
static Type Parse(DependentString& text, DependentString& error, |
RegExpFilterData& data); |
static void GenerateCustomBindings(); |
bool BINDINGS_EXPORTED Matches(const String& location, int typeMask, |
DependentString& docDomain, bool thirdParty, const String& sitekey) const; |
}; |