| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 Eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 /* [out] */ LPWSTR *pszAdditionalHeaders); | 60 /* [out] */ LPWSTR *pszAdditionalHeaders); |
| 61 | 61 |
| 62 STDMETHODIMP OnResponse( | 62 STDMETHODIMP OnResponse( |
| 63 /* [in] */ DWORD dwResponseCode, | 63 /* [in] */ DWORD dwResponseCode, |
| 64 /* [in] */ LPCWSTR szResponseHeaders, | 64 /* [in] */ LPCWSTR szResponseHeaders, |
| 65 /* [in] */ LPCWSTR szRequestHeaders, | 65 /* [in] */ LPCWSTR szRequestHeaders, |
| 66 /* [out] */ LPWSTR *pszAdditionalRequestHeaders); | 66 /* [out] */ LPWSTR *pszAdditionalRequestHeaders); |
| 67 | 67 |
| 68 HRESULT OnStart(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, | 68 HRESULT OnStart(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, |
| 69 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved, | 69 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved, |
| 70 IInternetProtocol* pTargetProtocol, bool& handled); | 70 IInternetProtocol* pTargetProtocol); |
| 71 | 71 |
| 72 HRESULT OnRead(void *pv, ULONG cb, ULONG* pcbRead); | 72 HRESULT OnRead(void *pv, ULONG cb, ULONG* pcbRead); |
| 73 | 73 |
| 74 STDMETHODIMP ReportProgress( | 74 STDMETHODIMP ReportProgress( |
| 75 /* [in] */ ULONG ulStatusCode, | 75 /* [in] */ ULONG ulStatusCode, |
| 76 /* [in] */ LPCWSTR szStatusText); | 76 /* [in] */ LPCWSTR szStatusText); |
| 77 | 77 |
| 78 STDMETHODIMP ReportResult( | 78 STDMETHODIMP ReportResult( |
| 79 /* [in] */ HRESULT hrResult, | 79 /* [in] */ HRESULT hrResult, |
| 80 /* [in] */ DWORD dwError, | 80 /* [in] */ DWORD dwError, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 94 WBPassthru(); | 94 WBPassthru(); |
| 95 // IInternetProtocolRoot | 95 // IInternetProtocolRoot |
| 96 STDMETHODIMP Start(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, | 96 STDMETHODIMP Start(LPCWSTR szUrl, IInternetProtocolSink *pOIProtSink, |
| 97 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved) override
; | 97 IInternetBindInfo *pOIBindInfo, DWORD grfPI, HANDLE_PTR dwReserved) override
; |
| 98 | 98 |
| 99 // IInternetProtocol | 99 // IInternetProtocol |
| 100 STDMETHODIMP Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [out] */ ULO
NG *pcbRead) override; | 100 STDMETHODIMP Read(/* [in, out] */ void *pv,/* [in] */ ULONG cb,/* [out] */ ULO
NG *pcbRead) override; |
| 101 | 101 |
| 102 bool m_shouldSupplyCustomContent; | 102 bool m_shouldSupplyCustomContent; |
| 103 }; | 103 }; |
| OLD | NEW |