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

Side by Side Diff: compiled/filter/ActiveFilter.cpp

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/ActiveFilter.h ('k') | compiled/filter/BlockingFilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include <cstdio> 1 #include <cstdio>
2 2
3 #include "ActiveFilter.h" 3 #include "ActiveFilter.h"
4 #include "StringScanner.h" 4 #include "../StringScanner.h"
5 5
6 static const DependentString DEFAULT_DOMAIN(u""_str); 6 static const DependentString DEFAULT_DOMAIN(u""_str);
7 7
8 namespace 8 namespace
9 { 9 {
10 OwnedString to_string(unsigned int i) 10 OwnedString to_string(unsigned int i)
11 { 11 {
12 char buffer[11]; 12 char buffer[11];
13 int len = sprintf(buffer, "%u", i); 13 int len = sprintf(buffer, "%u", i);
14 14
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 result.append(u'\n'); 181 result.append(u'\n');
182 } 182 }
183 if (mLastHit) 183 if (mLastHit)
184 { 184 {
185 result.append(u"lastHit="_str); 185 result.append(u"lastHit="_str);
186 result.append(to_string(mLastHit)); 186 result.append(to_string(mLastHit));
187 result.append(u'\n'); 187 result.append(u'\n');
188 } 188 }
189 return result; 189 return result;
190 } 190 }
OLDNEW
« no previous file with comments | « compiled/filter/ActiveFilter.h ('k') | compiled/filter/BlockingFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld