| OLD | NEW |
| 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 #ifdef SUPPORT_FILTER | 6 #ifdef SUPPORT_FILTER |
| 7 #include "PluginFilter.h" | 7 #include "PluginFilter.h" |
| 8 #endif | 8 #endif |
| 9 #include "PluginSettings.h" | 9 #include "PluginSettings.h" |
| 10 #include "PluginClass.h" | 10 #include "PluginClass.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 { | 122 { |
| 123 | 123 |
| 124 m_pTargetProtocol = pTargetProtocol; | 124 m_pTargetProtocol = pTargetProtocol; |
| 125 bool isBlocked = false; | 125 bool isBlocked = false; |
| 126 m_shouldBlock = false; | 126 m_shouldBlock = false; |
| 127 m_lastDataReported = false; | 127 m_lastDataReported = false; |
| 128 CString src; | 128 CString src; |
| 129 src.Append(szUrl); | 129 src.Append(szUrl); |
| 130 DEBUG_GENERAL(src); | 130 DEBUG_GENERAL(src); |
| 131 CPluginClient::UnescapeUrl(src); | 131 CPluginClient::UnescapeUrl(src); |
| 132 m_url = szUrl; | |
| 133 | 132 |
| 134 CString boundDomain; | 133 CString boundDomain; |
| 135 CString mimeType; | 134 CString mimeType; |
| 136 LPOLESTR mime[10]; | 135 LPOLESTR mime[10]; |
| 137 if (pOIBindInfo) | 136 if (pOIBindInfo) |
| 138 { | 137 { |
| 139 ULONG resLen = 0; | 138 ULONG resLen = 0; |
| 140 pOIBindInfo->GetBindString(BINDSTRING_ACCEPT_MIMES, mime, 10, &resLen); | 139 pOIBindInfo->GetBindString(BINDSTRING_ACCEPT_MIMES, mime, 10, &resLen); |
| 141 if (mime && resLen > 0) | 140 if (mime && resLen > 0) |
| 142 { | 141 { |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 CComPtr<IHttpNegotiate> spHttpNegotiate; | 372 CComPtr<IHttpNegotiate> spHttpNegotiate; |
| 374 QueryServiceFromClient(&spHttpNegotiate); | 373 QueryServiceFromClient(&spHttpNegotiate); |
| 375 | 374 |
| 376 return spHttpNegotiate ? spHttpNegotiate->OnResponse(dwResponseCode, szRespons
eHeaders, szRequestHeaders, pszAdditionalRequestHeaders) : S_OK; | 375 return spHttpNegotiate ? spHttpNegotiate->OnResponse(dwResponseCode, szRespons
eHeaders, szRequestHeaders, pszAdditionalRequestHeaders) : S_OK; |
| 377 } | 376 } |
| 378 | 377 |
| 379 STDMETHODIMP WBPassthruSink::ReportProgress(ULONG ulStatusCode, LPCWSTR szStatus
Text) | 378 STDMETHODIMP WBPassthruSink::ReportProgress(ULONG ulStatusCode, LPCWSTR szStatus
Text) |
| 380 { | 379 { |
| 381 return m_spInternetProtocolSink ? m_spInternetProtocolSink->ReportProgress(ulS
tatusCode, szStatusText) : S_OK; | 380 return m_spInternetProtocolSink ? m_spInternetProtocolSink->ReportProgress(ulS
tatusCode, szStatusText) : S_OK; |
| 382 } | 381 } |
| OLD | NEW |