| Index: src/plugin/AdblockPlusClient.cpp | 
| =================================================================== | 
| --- a/src/plugin/AdblockPlusClient.cpp | 
| +++ b/src/plugin/AdblockPlusClient.cpp | 
| @@ -1,20 +1,20 @@ | 
| -/* | 
| - * This file is part of Adblock Plus <https://adblockplus.org/>, | 
| - * Copyright (C) 2006-2015 Eyeo GmbH | 
| - * | 
| - * Adblock Plus is free software: you can redistribute it and/or modify | 
| - * it under the terms of the GNU General Public License version 3 as | 
| - * published by the Free Software Foundation. | 
| - * | 
| - * Adblock Plus is distributed in the hope that it will be useful, | 
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
| - * GNU General Public License for more details. | 
| - * | 
| - * You should have received a copy of the GNU General Public License | 
| - * along with Adblock Plus.  If not, see <http://www.gnu.org/licenses/>. | 
| - */ | 
| - | 
| +/* | 
| + * This file is part of Adblock Plus <https://adblockplus.org/>, | 
| + * Copyright (C) 2006-2015 Eyeo GmbH | 
| + * | 
| + * Adblock Plus is free software: you can redistribute it and/or modify | 
| + * it under the terms of the GNU General Public License version 3 as | 
| + * published by the Free Software Foundation. | 
| + * | 
| + * Adblock Plus is distributed in the hope that it will be useful, | 
| + * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
| + * GNU General Public License for more details. | 
| + * | 
| + * You should have received a copy of the GNU General Public License | 
| + * along with Adblock Plus.  If not, see <http://www.gnu.org/licenses/>. | 
| + */ | 
| + | 
| #include "PluginStdAfx.h" | 
| #include "PluginSettings.h" | 
| #include "PluginSystem.h" | 
| @@ -225,7 +225,7 @@ | 
| return instance; | 
| } | 
|  | 
| -bool CAdblockPlusClient::ShouldBlock(const std::wstring& src, int contentType, const std::wstring& domain, bool addDebug) | 
| +bool CAdblockPlusClient::ShouldBlock(const std::wstring& src, AdblockPlus::FilterEngine::ContentType contentType, const std::wstring& domain, bool addDebug) | 
| { | 
| bool isBlocked = false; | 
| bool isCached = false; | 
| @@ -250,7 +250,7 @@ | 
| m_criticalSectionFilter.Unlock(); | 
|  | 
| // Cache result, if content type is defined | 
| -    if (contentType != CFilter::contentTypeAny) | 
| +    if (contentType != AdblockPlus::FilterEngine::ContentType::CONTENT_TYPE_OTHER) | 
| { | 
| m_criticalSectionCache.Lock(); | 
| { | 
| @@ -304,10 +304,10 @@ | 
| return isWhitelisted; | 
| } | 
|  | 
| -bool CAdblockPlusClient::Matches(const std::wstring& url, const std::wstring& contentType, const std::wstring& domain) | 
| +bool CAdblockPlusClient::Matches(const std::wstring& url, AdblockPlus::FilterEngine::ContentType contentType, const std::wstring& domain) | 
| { | 
| Communication::OutputBuffer request; | 
| -  request << Communication::PROC_MATCHES << ToUtf8String(url) << ToUtf8String(contentType) << ToUtf8String(domain); | 
| +  request << Communication::PROC_MATCHES << ToUtf8String(url) << contentType << ToUtf8String(domain); | 
|  | 
| Communication::InputBuffer response; | 
| if (!CallEngine(request, response)) | 
|  |