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

Unified Diff: src/plugin/SinkPolicy.inl

Issue 4974480757620736: Issue #1356 - Improve detection of the issuer of the request (Closed)
Patch Set: Cleanup Created Oct. 30, 2014, 11:34 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/PluginWbPassThrough.cpp ('k') | src/shared/Utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/SinkPolicy.inl
===================================================================
--- a/src/plugin/SinkPolicy.inl
+++ b/src/plugin/SinkPolicy.inl
@@ -382,14 +382,6 @@
if (SUCCEEDED(hr) && !handled)
{
hr = pTargetProtocol->Start(szUrl, spSink, spBindInfo, grfPI, dwReserved);
- static_cast<Protocol*>(this)->m_hasOriginalStartCalled = true;
- }
- if (E_ABORT == hr && pSink->m_blockedInTransaction)
sergei 2014/10/31 12:47:57 It should not be removed, only one line with m_has
Oleksandr 2014/10/31 15:22:07 You're right. Removing this would not let us respo
- {
- static_cast<Protocol*>(this)->m_shouldSupplyCustomContent = true;
- pSink->m_spInternetProtocolSink->ReportProgress(BINDSTATUS_MIMETYPEAVAILABLE, L"text/html");
- pSink->m_spInternetProtocolSink->ReportData(BSCF_FIRSTDATANOTIFICATION, 0, static_cast<ULONG>(g_blockedByABPPage.size()));
- return S_OK;
}
return hr;
}
« no previous file with comments | « src/plugin/PluginWbPassThrough.cpp ('k') | src/shared/Utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld