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: Previous patch comments addressed Created April 9, 2013, 7:38 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>
Wladimir Palant 2013/04/09 08:00:10 Miscommunication here apparently - #include <memor
Felix Dahlke 2013/04/09 08:11:15 Like I said in the header, "#ifdef WIN32" should w
3 #include <cctype>
4 #include <functional>
5
2 #include <AdblockPlus.h> 6 #include <AdblockPlus.h>
3 7
4 using namespace AdblockPlus; 8 using namespace AdblockPlus;
5 9
6 #if !FILTER_ENGINE_STUBS 10 #if !FILTER_ENGINE_STUBS
7 extern const char* jsSources[]; 11 extern const char* jsSources[];
8 #endif 12 #endif
9 13
10 #if FILTER_ENGINE_STUBS 14 #if FILTER_ENGINE_STUBS
11 JsObject::JsObject(FilterEngine& filterEngine) 15 JsObject::JsObject(FilterEngine& filterEngine)
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 #if FILTER_ENGINE_STUBS 270 #if FILTER_ENGINE_STUBS
267 std::vector<std::string> selectors; 271 std::vector<std::string> selectors;
268 selectors.push_back("#ad"); 272 selectors.push_back("#ad");
269 selectors.push_back(".ad"); 273 selectors.push_back(".ad");
270 //For test on http://simple-adblock.com/faq/testing-your-adblocker/ 274 //For test on http://simple-adblock.com/faq/testing-your-adblocker/
271 if (domain == "simple-adblock.com") 275 if (domain == "simple-adblock.com")
272 selectors.push_back(".ad_300x250"); 276 selectors.push_back(".ad_300x250");
273 return selectors; 277 return selectors;
274 #endif 278 #endif
275 } 279 }
OLDNEW

Powered by Google App Engine
This is Rietveld