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

Unified Diff: compiled/filter/ActiveFilter.h

Issue 29595633: Issue 5870 - Implement the new ElemHideEmulation filter type (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Review comments Created Jan. 30, 2018, 10:52 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
« no previous file with comments | « no previous file | compiled/filter/ActiveFilter.cpp » ('j') | test/compiled/Filter.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/filter/ActiveFilter.h
===================================================================
--- a/compiled/filter/ActiveFilter.h
+++ b/compiled/filter/ActiveFilter.h
@@ -55,16 +55,17 @@
virtual SitekeySet* GetSitekeys() const;
mutable std::unique_ptr<DomainMap> mDomains;
mutable std::unique_ptr<SitekeySet> mSitekeys;
private:
bool mIgnoreTrailingDot;
public:
static constexpr Type classType = Type::ACTIVE;
explicit ActiveFilter(Type type, const String& text, bool ignoreTrailingDot);
+ explicit ActiveFilter(Type type, String&& text, bool ignoreTrailingDot);
FILTER_PROPERTY(bool, mDisabled, FILTER_DISABLED, GetDisabled, SetDisabled);
FILTER_PROPERTY(unsigned int, mHitCount, FILTER_HITCOUNT,
GetHitCount, SetHitCount);
FILTER_PROPERTY(unsigned int, mLastHit, FILTER_LASTHIT,
GetLastHit, SetLastHit);
bool BINDINGS_EXPORTED IsActiveOnDomain(DependentString& docDomain,
const String& sitekey = DependentString()) const;
bool BINDINGS_EXPORTED IsActiveOnlyOnDomain(DependentString& docDomain) const;
« no previous file with comments | « no previous file | compiled/filter/ActiveFilter.cpp » ('j') | test/compiled/Filter.cpp » ('J')

Powered by Google App Engine
This is Rietveld