| OLD | NEW |
| 1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
| 2 | 2 |
| 3 #include "PluginFilter.h" | 3 #include "PluginFilter.h" |
| 4 | 4 |
| 5 #if (defined PRODUCT_ADBLOCKPLUS) | 5 #if (defined PRODUCT_ADBLOCKPLUS) |
| 6 #include "PluginSettings.h" | 6 #include "PluginSettings.h" |
| 7 #include "PluginClient.h" | 7 #include "PluginClient.h" |
| 8 #include "PluginClientFactory.h" | 8 #include "PluginClientFactory.h" |
| 9 #endif | 9 #endif |
| 10 | 10 |
| 11 #include "PluginMutex.h" | 11 #include "PluginMutex.h" |
| 12 #include "PluginHttpRequest.h" | 12 #include "PluginHttpRequest.h" |
| 13 #include "PluginSettings.h" | 13 #include "PluginSettings.h" |
| 14 #include "PluginSystem.h" | 14 #include "PluginSystem.h" |
| 15 #include "PluginClass.h" | 15 #include "PluginClass.h" |
| 16 #include "mlang.h" | 16 #include "mlang.h" |
| 17 | 17 |
| 18 #include "..\shared\CriticalSection.h" |
| 19 |
| 18 | 20 |
| 19 // The filters are described at http://adblockplus.org/en/filters | 21 // The filters are described at http://adblockplus.org/en/filters |
| 20 | 22 |
| 21 static CriticalSection s_criticalSectionFilterMap; | 23 static CriticalSection s_criticalSectionFilterMap; |
| 22 | 24 |
| 23 // ============================================================================ | 25 // ============================================================================ |
| 24 // CFilterElementHideAttrSelector | 26 // CFilterElementHideAttrSelector |
| 25 // ============================================================================ | 27 // ============================================================================ |
| 26 | 28 |
| 27 CFilterElementHideAttrSelector::CFilterElementHideAttrSelector() : m_type(TYPE_N
ONE), m_pos(POS_NONE), m_bstrAttr(NULL) | 29 CFilterElementHideAttrSelector::CFilterElementHideAttrSelector() : m_type(TYPE_N
ONE), m_pos(POS_NONE), m_bstrAttr(NULL) |
| (...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 if (pos > 0 && domain.GetLength() + pos == subdomain.GetLength()) | 890 if (pos > 0 && domain.GetLength() + pos == subdomain.GetLength()) |
| 889 { | 891 { |
| 890 if (subdomain.GetAt(pos - 1) == '.') | 892 if (subdomain.GetAt(pos - 1) == '.') |
| 891 { | 893 { |
| 892 return true; | 894 return true; |
| 893 } | 895 } |
| 894 } | 896 } |
| 895 | 897 |
| 896 return false; | 898 return false; |
| 897 } | 899 } |
| OLD | NEW |