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

Unified Diff: src/plugin/PluginFilter.cpp

Issue 10955040: Fix domain whitelisting and remove unused code (Closed)
Patch Set: Created June 25, 2013, 10:21 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginFilter.cpp
===================================================================
--- a/src/plugin/PluginFilter.cpp
+++ b/src/plugin/PluginFilter.cpp
@@ -682,21 +682,6 @@
}
}
-
-bool CPluginFilter::ShouldWhiteList(CString src) const
-{
- // We should not block the empty string, so all filtering does not make sense
- // Therefore we just return
- if (src.Trim().IsEmpty())
- {
- return false;
- }
-
- //TODO: Implement whitelisting check from libadblockplus here. Probably not needed anymore
- return false;
-}
-
-
bool CPluginFilter::ShouldBlock(CString src, int contentType, const CString& domain, bool addDebug) const
{
// We should not block the empty string, so all filtering does not make sense

Powered by Google App Engine
This is Rietveld