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

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

Issue 6585196354732032: Issue 1634 - ABP for IE dev build v1.2.727 - ieframe crash (Closed)
Patch Set: Created Nov. 28, 2014, 12:56 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "PluginWbPassThrough.h" 3 #include "PluginWbPassThrough.h"
4 #include "PluginClient.h" 4 #include "PluginClient.h"
5 #include "PluginClientFactory.h" 5 #include "PluginClientFactory.h"
6 #include "PluginFilter.h" 6 #include "PluginFilter.h"
7 #include "PluginSettings.h" 7 #include "PluginSettings.h"
8 #include "PluginClass.h" 8 #include "PluginClass.h"
9 #include "PluginSystem.h" 9 #include "PluginSystem.h"
10 #include <WinInet.h> 10 #include <WinInet.h>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 m_contentType = ContentType::CONTENT_TYPE_SUBDOCUMENT; 320 m_contentType = ContentType::CONTENT_TYPE_SUBDOCUMENT;
321 } 321 }
322 } 322 }
323 } 323 }
324 324
325 if (IsFlashRequest(pszAdditionalHeaders)) 325 if (IsFlashRequest(pszAdditionalHeaders))
326 { 326 {
327 m_contentType = ContentType::CONTENT_TYPE_OBJECT_SUBREQUEST; 327 m_contentType = ContentType::CONTENT_TYPE_OBJECT_SUBREQUEST;
328 } 328 }
329 329
330 if (pszAdditionalHeaders && IsXmlHttpRequest(*pszAdditionalHeaders)) 330 if (pszAdditionalHeaders && *pszAdditionalHeaders && IsXmlHttpRequest(*pszAddi tionalHeaders))
331 { 331 {
332 m_contentType = ContentType::CONTENT_TYPE_XMLHTTPREQUEST; 332 m_contentType = ContentType::CONTENT_TYPE_XMLHTTPREQUEST;
333 } 333 }
334 334
335 m_blockedInTransaction = client->ShouldBlock(szURL, m_contentType, m_boundDoma in); 335 m_blockedInTransaction = client->ShouldBlock(szURL, m_contentType, m_boundDoma in);
336 if (m_blockedInTransaction) 336 if (m_blockedInTransaction)
337 { 337 {
338 return E_ABORT; 338 return E_ABORT;
339 } 339 }
340 return nativeHr; 340 return nativeHr;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 } 386 }
387 387
388 return OnStart(szUrl, pOIProtSink, pOIBindInfo, grfPI, dwReserved, m_spInterne tProtocol); 388 return OnStart(szUrl, pOIProtSink, pOIBindInfo, grfPI, dwReserved, m_spInterne tProtocol);
389 } 389 }
390 390
391 STDMETHODIMP WBPassthru::Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [o ut] */ ULONG *pcbRead) 391 STDMETHODIMP WBPassthru::Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [o ut] */ ULONG *pcbRead)
392 { 392 {
393 WBPassthruSink* pSink = GetSink(); 393 WBPassthruSink* pSink = GetSink();
394 return pSink->OnRead(pv, cb, pcbRead); 394 return pSink->OnRead(pv, cb, pcbRead);
395 } 395 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld