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

Side by Side Diff: compiled/filter/RegExpFilter.h

Issue 29383816: Issue 4989 - [emscripten] Move filter class files into a separate directory (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created March 14, 2017, 3:34 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « compiled/filter/InvalidFilter.cpp ('k') | compiled/filter/RegExpFilter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #pragma once 1 #pragma once
2 2
3 #include "Filter.h" 3 #include "Filter.h"
4 #include "ActiveFilter.h" 4 #include "ActiveFilter.h"
5 5
6 enum class TrippleState {YES, NO, ANY}; 6 enum class TrippleState {YES, NO, ANY};
7 7
8 struct RegExpFilterData 8 struct RegExpFilterData
9 { 9 {
10 mutable String::size_type mPatternStart; 10 mutable String::size_type mPatternStart;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 SitekeySet* GetSitekeys() const override; 86 SitekeySet* GetSitekeys() const override;
87 public: 87 public:
88 explicit RegExpFilter(Type type, const String& text, const RegExpFilterData& d ata); 88 explicit RegExpFilter(Type type, const String& text, const RegExpFilterData& d ata);
89 ~RegExpFilter(); 89 ~RegExpFilter();
90 static Type Parse(DependentString& text, DependentString& error, 90 static Type Parse(DependentString& text, DependentString& error,
91 RegExpFilterData& data); 91 RegExpFilterData& data);
92 EMSCRIPTEN_KEEPALIVE static void InitJSTypes(); 92 EMSCRIPTEN_KEEPALIVE static void InitJSTypes();
93 EMSCRIPTEN_KEEPALIVE bool Matches(const String& location, int typeMask, 93 EMSCRIPTEN_KEEPALIVE bool Matches(const String& location, int typeMask,
94 DependentString& docDomain, bool thirdParty, const String& sitekey) const; 94 DependentString& docDomain, bool thirdParty, const String& sitekey) const;
95 }; 95 };
OLDNEW
« no previous file with comments | « compiled/filter/InvalidFilter.cpp ('k') | compiled/filter/RegExpFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld