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

Delta Between Two Patch Sets: compiled/CommentFilter.h

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Left Patch Set: Using embind Created Jan. 15, 2016, 8:44 p.m.
Right Patch Set: Addressed comments from Patch Set 28 Created March 21, 2017, 10:04 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « compiled/CSSPropertyFilter.cpp ('k') | compiled/CommentFilter.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #ifndef ADBLOCK_PLUS_COMMENT_FILTER_H 1 #pragma once
2 #define ADBLOCK_PLUS_COMMENT_FILTER_H
3
4 #include <string>
5 2
6 #include "Filter.h" 3 #include "Filter.h"
7 4
8 class CommentFilter : public Filter 5 class CommentFilter : public Filter
9 { 6 {
10 public: 7 public:
11 explicit CommentFilter(const std::wstring& text); 8 explicit CommentFilter(const String& text);
12 static Type Parse(const std::wstring& text); 9 static Type Parse(const String& text);
13 static CommentFilter* Create(const std::wstring& text); 10 static CommentFilter* Create(const String& text);
14 Type GetType() const;
15 }; 11 };
16
17 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld