Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/plugin/PluginFilter.cpp

Issue 6390087684194304: [superseded] Issue 1265 - Improve detection of mime type of the expected response (Closed)
Patch Set: Fix missed support of other blocked types Created Sept. 12, 2014, 7:54 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 if (addDebug) 708 if (addDebug)
709 { 709 {
710 DEBUG_FILTER("Filter::ShouldBlock " + type + " YES") 710 DEBUG_FILTER("Filter::ShouldBlock " + type + " YES")
711 711
712 #ifdef ENABLE_DEBUG_RESULT 712 #ifdef ENABLE_DEBUG_RESULT
713 CPluginDebug::DebugResultBlocking(type, src, domain); 713 CPluginDebug::DebugResultBlocking(type, src, domain);
714 #endif 714 #endif
715 } 715 }
716 return true; 716 return true;
717 } 717 }
718 #ifdef ENABLE_DEBUG_RESULT
719 CPluginDebug::DebugResultIgnoring(type, src, domain);
720 #endif
718 return false; 721 return false;
719 } 722 }
OLDNEW

Powered by Google App Engine
This is Rietveld