| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } |
| OLD | NEW |