Index: src/plugin/PluginWbPassThrough.h |
=================================================================== |
--- a/src/plugin/PluginWbPassThrough.h |
+++ b/src/plugin/PluginWbPassThrough.h |
@@ -1,5 +1,6 @@ |
#pragma once |
#include <cstdint> |
+#include <AdblockPlus/FilterEngine.h> |
#include "ProtocolCF.h" |
#include "ProtocolImpl.h" |
#define IE_MAX_URL_LENGTH 2048 |
@@ -15,13 +16,13 @@ |
uint64_t m_currentPositionOfSentPage; |
CComPtr<IInternetProtocol> m_pTargetProtocol; |
- int m_contentType; |
+ AdblockPlus::FilterEngine::ContentType m_contentType; |
std::wstring m_boundDomain; |
bool m_blockedInTransaction; |
- int GetContentTypeFromMimeType(const CString& mimeType); |
- int GetContentTypeFromURL(const CString& src); |
- int GetContentType(const CString& mimeType, const std::wstring& domain, const CString& src); |
+ AdblockPlus::FilterEngine::ContentType GetContentTypeFromMimeType(const CString& mimeType); |
+ AdblockPlus::FilterEngine::ContentType GetContentTypeFromURL(const CString& src); |
+ AdblockPlus::FilterEngine::ContentType GetContentType(const CString& mimeType, const std::wstring& domain, const CString& src); |
bool IsFlashRequest(const wchar_t* const* additionalHeaders); |
public: |
BEGIN_COM_MAP(WBPassthruSink) |