| OLD | NEW |
| 1 #include "PluginStdAfx.h" | 1 #include "PluginStdAfx.h" |
| 2 | 2 |
| 3 #include "PluginFilter.h" | 3 #include "PluginFilter.h" |
| 4 #include "PluginSettings.h" | 4 #include "PluginSettings.h" |
| 5 #include "PluginClient.h" | 5 #include "PluginClient.h" |
| 6 #include "PluginClientFactory.h" | 6 #include "PluginClientFactory.h" |
| 7 #include "PluginMutex.h" | 7 #include "PluginMutex.h" |
| 8 #include "PluginSettings.h" | 8 #include "PluginSettings.h" |
| 9 #include "PluginSystem.h" | 9 #include "PluginSystem.h" |
| 10 #include "PluginClass.h" | 10 #include "PluginClass.h" |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 413 |
| 414 | 414 |
| 415 // ============================================================================ | 415 // ============================================================================ |
| 416 // CPluginFilter | 416 // CPluginFilter |
| 417 // ============================================================================ | 417 // ============================================================================ |
| 418 | 418 |
| 419 CPluginFilter::CPluginFilter(const CString& dataPath) : m_dataPath(dataPath) | 419 CPluginFilter::CPluginFilter(const CString& dataPath) : m_dataPath(dataPath) |
| 420 { | 420 { |
| 421 m_contentMapText[CFilter::contentTypeDocument] = "DOCUMENT"; | 421 m_contentMapText[CFilter::contentTypeDocument] = "DOCUMENT"; |
| 422 m_contentMapText[CFilter::contentTypeObject] = "OBJECT"; | 422 m_contentMapText[CFilter::contentTypeObject] = "OBJECT"; |
| 423 m_contentMapText[CFilter::contentTypeObjectSubrequest] = "OBJECT-SUBREQUEST"; | 423 m_contentMapText[CFilter::contentTypeObjectSubrequest] = "OBJECT_SUBREQUEST"; |
| 424 m_contentMapText[CFilter::contentTypeImage] = "IMAGE"; | 424 m_contentMapText[CFilter::contentTypeImage] = "IMAGE"; |
| 425 m_contentMapText[CFilter::contentTypeScript] = "SCRIPT"; | 425 m_contentMapText[CFilter::contentTypeScript] = "SCRIPT"; |
| 426 m_contentMapText[CFilter::contentTypeOther] = "OTHER"; | 426 m_contentMapText[CFilter::contentTypeOther] = "OTHER"; |
| 427 m_contentMapText[CFilter::contentTypeUnknown] = "OTHER"; | 427 m_contentMapText[CFilter::contentTypeUnknown] = "OTHER"; |
| 428 m_contentMapText[CFilter::contentTypeSubdocument] = "SUBDOCUMENT"; | 428 m_contentMapText[CFilter::contentTypeSubdocument] = "SUBDOCUMENT"; |
| 429 m_contentMapText[CFilter::contentTypeStyleSheet] = "STYLESHEET"; | 429 m_contentMapText[CFilter::contentTypeStyleSheet] = "STYLESHEET"; |
| 430 m_contentMapText[CFilter::contentTypeXmlHttpRequest] = "XMLHTTPREQUEST"; | 430 m_contentMapText[CFilter::contentTypeXmlHttpRequest] = "XMLHTTPREQUEST"; |
| 431 | 431 |
| 432 ClearFilters(); | 432 ClearFilters(); |
| 433 } | 433 } |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 CPluginDebug::DebugResultBlocking(type, srcCString, domain); | 706 CPluginDebug::DebugResultBlocking(type, srcCString, domain); |
| 707 #endif | 707 #endif |
| 708 } | 708 } |
| 709 return true; | 709 return true; |
| 710 } | 710 } |
| 711 #ifdef ENABLE_DEBUG_RESULT | 711 #ifdef ENABLE_DEBUG_RESULT |
| 712 CPluginDebug::DebugResultIgnoring(type, srcCString, domain); | 712 CPluginDebug::DebugResultIgnoring(type, srcCString, domain); |
| 713 #endif | 713 #endif |
| 714 return false; | 714 return false; |
| 715 } | 715 } |
| OLD | NEW |