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

Delta Between Two Patch Sets: src/plugin/PluginFilter.cpp

Issue 11013110: Cleanup (Closed)
Left Patch Set: SetPref/GetPref type safety. Comments addressed. Created July 22, 2013, 12:42 a.m.
Right Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/plugin/PluginDebug.cpp ('k') | src/plugin/PluginHttpRequest.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld