| OLD | NEW |
| 1 #pragma once | 1 #pragma once |
| 2 #include <cstdint> | 2 #include <cstdint> |
| 3 #include "ProtocolCF.h" | 3 #include "ProtocolCF.h" |
| 4 #include "ProtocolImpl.h" | 4 #include "ProtocolImpl.h" |
| 5 #define IE_MAX_URL_LENGTH 2048 | 5 #define IE_MAX_URL_LENGTH 2048 |
| 6 | 6 |
| 7 class WBPassthruSink : | 7 class WBPassthruSink : |
| 8 public PassthroughAPP::CInternetProtocolSinkWithSP<WBPassthruSink, CComM
ultiThreadModel>, | 8 public PassthroughAPP::CInternetProtocolSinkWithSP<WBPassthruSink, CComM
ultiThreadModel>, |
| 9 public IHttpNegotiate | 9 public IHttpNegotiate |
| 10 { | 10 { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 typedef PassthroughAPP::CInternetProtocol<WBStartPolicy> BaseClass; | 71 typedef PassthroughAPP::CInternetProtocol<WBStartPolicy> BaseClass; |
| 72 public: | 72 public: |
| 73 WBPassthru(); | 73 WBPassthru(); |
| 74 // IInternetProtocolRoot | 74 // IInternetProtocolRoot |
| 75 STDMETHODIMP Start(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, | 75 STDMETHODIMP Start(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, |
| 76 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved) override
; | 76 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved) override
; |
| 77 | 77 |
| 78 //IInternetProtocol | 78 //IInternetProtocol |
| 79 STDMETHODIMP Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [out] */ ULO
NG *pcbRead) override; | 79 STDMETHODIMP Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [out] */ ULO
NG *pcbRead) override; |
| 80 | 80 |
| 81 STDMETHODIMP LockRequest(/* [in] */ DWORD dwOptions) override; | |
| 82 STDMETHODIMP UnlockRequest() override; | |
| 83 | |
| 84 bool m_shouldSupplyCustomContent; | 81 bool m_shouldSupplyCustomContent; |
| 85 }; | 82 }; |
| OLD | NEW |