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

Side by Side Diff: src/FilterEngine.cpp

Issue 10169005: Windows specific changes. All tests passing on Windows. (Closed)
Patch Set: Misscommunication fix Created April 9, 2013, 8:03 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #include <algorithm> 1 #include <algorithm>
2 #include <memory>
3 #include <cctype> 2 #include <cctype>
4 #include <functional> 3 #include <functional>
5 4
6 #include <AdblockPlus.h> 5 #include <AdblockPlus.h>
7 6
8 using namespace AdblockPlus; 7 using namespace AdblockPlus;
9 8
10 #if !FILTER_ENGINE_STUBS 9 #if !FILTER_ENGINE_STUBS
11 extern const char* jsSources[]; 10 extern const char* jsSources[];
12 #endif 11 #endif
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 #if FILTER_ENGINE_STUBS 269 #if FILTER_ENGINE_STUBS
271 std::vector<std::string> selectors; 270 std::vector<std::string> selectors;
272 selectors.push_back("#ad"); 271 selectors.push_back("#ad");
273 selectors.push_back(".ad"); 272 selectors.push_back(".ad");
274 //For test on http://simple-adblock.com/faq/testing-your-adblocker/ 273 //For test on http://simple-adblock.com/faq/testing-your-adblocker/
275 if (domain == "simple-adblock.com") 274 if (domain == "simple-adblock.com")
276 selectors.push_back(".ad_300x250"); 275 selectors.push_back(".ad_300x250");
277 return selectors; 276 return selectors;
278 #endif 277 #endif
279 } 278 }
OLDNEW
« include/AdblockPlus/FilterEngine.h ('K') | « include/AdblockPlus/FilterEngine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld