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

Unified Diff: compiled/filter/BlockingFilter.h

Issue 29574665: Issue 5159 - Expose collapse property for BlockingFilter (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Added test for collapse Created Oct. 13, 2017, 3:40 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/filter/BlockingFilter.h
===================================================================
--- a/compiled/filter/BlockingFilter.h
+++ b/compiled/filter/BlockingFilter.h
@@ -18,9 +18,13 @@
#pragma once
#include "RegExpFilter.h"
class BlockingFilter : public RegExpFilter
{
public:
explicit BlockingFilter(const String& text, const RegExpFilterData& data);
+ bool BINDINGS_EXPORTED GetCollapse() const
+ {
+ return mData.mCollapse;
+ }
};

Powered by Google App Engine
This is Rietveld