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

Unified Diff: compiled/filter/CommentFilter.h

Issue 29606600: Issue 5146 - Implement DownloadableSubscription parsing in C++ (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created Nov. 13, 2017, 10:25 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/CommentFilter.h
===================================================================
--- a/compiled/filter/CommentFilter.h
+++ b/compiled/filter/CommentFilter.h
@@ -16,16 +16,26 @@
*/
#pragma once
#include "Filter.h"
class CommentFilter : public Filter
{
+ DependentString mParam;
+ DependentString mValue;
public:
static constexpr Type classType = Type::COMMENT;
explicit CommentFilter(const String& text);
static Type Parse(const String& text);
static CommentFilter* Create(const String& text);
+ const String& GetParam() const
+ {
+ return mParam;
+ }
+ const String& GetValue() const
+ {
+ return mValue;
+ }
};
typedef intrusive_ptr<CommentFilter> CommentFilterPtr;

Powered by Google App Engine
This is Rietveld