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

Delta Between Two Patch Sets: compiled/InvalidFilter.h

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Left Patch Set: Fixed annotation for hash buffers Created Jan. 28, 2016, 5:07 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/Filter.cpp ('k') | compiled/InvalidFilter.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_INVALID_FILTER_H 1 #pragma once
2 #define ADBLOCK_PLUS_INVALID_FILTER_H
3 2
4 #include "Filter.h" 3 #include "Filter.h"
5 4
6 class InvalidFilter : public Filter 5 class InvalidFilter : public Filter
7 { 6 {
8 public: 7 public:
9 InvalidFilter(const String& text, const String& reason); 8 explicit InvalidFilter(const String& text, const String& reason);
10 Type GetType() const; 9 EMSCRIPTEN_KEEPALIVE const String& GetReason() const
11 const String GetReason() const
12 { 10 {
13 return mReason; 11 return mReason;
14 }; 12 };
15 private: 13 private:
16 String mReason; 14 OwnedString mReason;
17 }; 15 };
18
19 #endif
LEFTRIGHT

Powered by Google App Engine
This is Rietveld