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

Unified Diff: src/plugin/PluginWbPassThrough.cpp

Issue 5163396739629056: Issue #1234 - Remove CString from ShouldBlock(), IsElementHidden() declarations (Closed)
Patch Set: Created Sept. 30, 2014, 5:37 p.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
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginWbPassThrough.cpp
===================================================================
--- a/src/plugin/PluginWbPassThrough.cpp
+++ b/src/plugin/PluginWbPassThrough.cpp
@@ -188,10 +188,9 @@
else
#endif // SUPPORT_FRAME_CACHING
contentType = GetContentType(mimeType, boundDomain, src);
- if (client->ShouldBlock(src, contentType, boundDomain, true))
+ if (client->ShouldBlock(to_wstring(src), contentType, to_wstring(boundDomain), true))
{
isBlocked = true;
-
DEBUG_BLOCKER("Blocker::Blocking Http-request:" + src);
}
}
@@ -205,7 +204,7 @@
if (tab == NULL)
{
contentType = GetContentType(mimeType, boundDomain, src);
- if (client->ShouldBlock(src, contentType, boundDomain, true))
+ if (client->ShouldBlock(to_wstring(src), contentType, to_wstring(boundDomain), true))
{
isBlocked = true;
}
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld