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

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

Issue 11013110: Cleanup (Closed)
Patch Set: Created July 5, 2013, 3:28 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
11 #include "PluginMutex.h" 11 #include "PluginMutex.h"
12 #include "PluginHttpRequest.h"
13 #include "PluginSettings.h" 12 #include "PluginSettings.h"
14 #include "PluginSystem.h" 13 #include "PluginSystem.h"
15 #include "PluginClass.h" 14 #include "PluginClass.h"
16 #include "mlang.h" 15 #include "mlang.h"
17 16
18 #include "..\shared\CriticalSection.h" 17 #include "..\shared\CriticalSection.h"
19 18
20 19
21 // The filters are described at http://adblockplus.org/en/filters 20 // The filters are described at http://adblockplus.org/en/filters
22 21
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 if (pos > 0 && domain.GetLength() + pos == subdomain.GetLength()) 866 if (pos > 0 && domain.GetLength() + pos == subdomain.GetLength())
868 { 867 {
869 if (subdomain.GetAt(pos - 1) == '.') 868 if (subdomain.GetAt(pos - 1) == '.')
870 { 869 {
871 return true; 870 return true;
872 } 871 }
873 } 872 }
874 873
875 return false; 874 return false;
876 } 875 }
OLDNEW

Powered by Google App Engine
This is Rietveld