webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
DefaultDownloadDelegate Class Reference

#include <DefaultDownloadDelegate.h>

Inheritance diagram for DefaultDownloadDelegate:
IWebDownloadDelegate

Public Member Functions

virtual HRESULT STDMETHODCALLTYPE QueryInterface (_In_ REFIID riid, _COM_Outptr_ void **ppvObject)
 
virtual ULONG STDMETHODCALLTYPE AddRef ()
 
virtual ULONG STDMETHODCALLTYPE Release ()
 
virtual HRESULT STDMETHODCALLTYPE decideDestinationWithSuggestedFilename (_In_opt_ IWebDownload *, _In_ BSTR filename)
 
virtual HRESULT STDMETHODCALLTYPE didCancelAuthenticationChallenge (_In_opt_ IWebDownload *, _In_opt_ IWebURLAuthenticationChallenge *)
 
virtual HRESULT STDMETHODCALLTYPE didCreateDestination (_In_opt_ IWebDownload *, _In_ BSTR destination)
 
virtual HRESULT STDMETHODCALLTYPE didFailWithError (_In_opt_ IWebDownload *, _In_opt_ IWebError *)
 
virtual HRESULT STDMETHODCALLTYPE didReceiveAuthenticationChallenge (_In_opt_ IWebDownload *, _In_opt_ IWebURLAuthenticationChallenge *)
 
virtual HRESULT STDMETHODCALLTYPE didReceiveDataOfLength (_In_opt_ IWebDownload *, unsigned length)
 
virtual HRESULT STDMETHODCALLTYPE didReceiveResponse (_In_opt_ IWebDownload *, _In_opt_ IWebURLResponse *)
 
virtual HRESULT STDMETHODCALLTYPE shouldDecodeSourceDataOfMIMEType (_In_opt_ IWebDownload *, _In_ BSTR encodingType, _Out_ BOOL *shouldDecode)
 
virtual HRESULT STDMETHODCALLTYPE willResumeWithResponse (_In_opt_ IWebDownload *, _In_opt_ IWebURLResponse *, long long fromByte)
 
virtual HRESULT STDMETHODCALLTYPE willSendRequest (_In_opt_ IWebDownload *, _In_opt_ IWebMutableURLRequest *, _In_opt_ IWebURLResponse *redirectResponse, _COM_Outptr_opt_ IWebMutableURLRequest **finalRequest)
 
virtual HRESULT STDMETHODCALLTYPE didBegin (_In_opt_ IWebDownload *)
 
virtual HRESULT STDMETHODCALLTYPE didFinish (_In_opt_ IWebDownload *)
 
void registerDownload (IWebDownload *)
 
void unregisterDownload (IWebDownload *)
 
- Public Member Functions inherited from IWebDownloadDelegate
HRESULT decideDestinationWithSuggestedFilename ([in] IWebDownload *download, [in] BSTR filename)
 
HRESULT didCancelAuthenticationChallenge ([in] IWebDownload *download, [in] IWebURLAuthenticationChallenge *challenge)
 
HRESULT didCreateDestination ([in] IWebDownload *download, [in] BSTR destination)
 
HRESULT didFailWithError ([in] IWebDownload *download, [in] IWebError *error)
 
HRESULT didReceiveAuthenticationChallenge ([in] IWebDownload *download, [in] IWebURLAuthenticationChallenge *challenge)
 
HRESULT didReceiveDataOfLength ([in] IWebDownload *download, [in] unsigned length)
 
HRESULT didReceiveResponse ([in] IWebDownload *download, [in] IWebURLResponse *response)
 
HRESULT shouldDecodeSourceDataOfMIMEType ([in] IWebDownload *download, [in] BSTR encodingType, [out, retval] BOOL *shouldDecode)
 
HRESULT willResumeWithResponse ([in] IWebDownload *download, [in] IWebURLResponse *response, [in] long long fromByte)
 
HRESULT willSendRequest ([in] IWebDownload *download, [in] IWebMutableURLRequest *request, [in] IWebURLResponse *redirectResponse, [out] IWebMutableURLRequest **finalRequest)
 
HRESULT didBegin ([in] IWebDownload *download)
 
HRESULT didFinish ([in] IWebDownload *download)
 

Static Public Member Functions

static DefaultDownloadDelegatesharedInstance ()
 
static DefaultDownloadDelegatecreateInstance ()
 

Protected Attributes

ULONG m_refCount { 0 }
 
HashSet< IWebDownload * > m_downloads
 

Member Function Documentation

◆ AddRef()

ULONG DefaultDownloadDelegate::AddRef ( )
virtual

◆ createInstance()

DefaultDownloadDelegate * DefaultDownloadDelegate::createInstance ( )
static

◆ decideDestinationWithSuggestedFilename()

HRESULT DefaultDownloadDelegate::decideDestinationWithSuggestedFilename ( _In_opt_ IWebDownload download,
_In_ BSTR  filename 
)
virtual

◆ didBegin()

HRESULT DefaultDownloadDelegate::didBegin ( _In_opt_ IWebDownload download)
virtual

◆ didCancelAuthenticationChallenge()

HRESULT DefaultDownloadDelegate::didCancelAuthenticationChallenge ( _In_opt_ IWebDownload download,
_In_opt_ IWebURLAuthenticationChallenge challenge 
)
virtual

◆ didCreateDestination()

HRESULT DefaultDownloadDelegate::didCreateDestination ( _In_opt_ IWebDownload download,
_In_ BSTR  destination 
)
virtual

◆ didFailWithError()

HRESULT DefaultDownloadDelegate::didFailWithError ( _In_opt_ IWebDownload download,
_In_opt_ IWebError error 
)
virtual

◆ didFinish()

HRESULT DefaultDownloadDelegate::didFinish ( _In_opt_ IWebDownload download)
virtual

◆ didReceiveAuthenticationChallenge()

HRESULT DefaultDownloadDelegate::didReceiveAuthenticationChallenge ( _In_opt_ IWebDownload download,
_In_opt_ IWebURLAuthenticationChallenge challenge 
)
virtual

◆ didReceiveDataOfLength()

HRESULT DefaultDownloadDelegate::didReceiveDataOfLength ( _In_opt_ IWebDownload download,
unsigned  length 
)
virtual

◆ didReceiveResponse()

HRESULT DefaultDownloadDelegate::didReceiveResponse ( _In_opt_ IWebDownload download,
_In_opt_ IWebURLResponse response 
)
virtual

◆ QueryInterface()

HRESULT DefaultDownloadDelegate::QueryInterface ( _In_ REFIID  riid,
_COM_Outptr_ void **  ppvObject 
)
virtual

◆ registerDownload()

void DefaultDownloadDelegate::registerDownload ( IWebDownload download)

◆ Release()

ULONG DefaultDownloadDelegate::Release ( void  )
virtual

◆ sharedInstance()

DefaultDownloadDelegate * DefaultDownloadDelegate::sharedInstance ( )
static

◆ shouldDecodeSourceDataOfMIMEType()

HRESULT DefaultDownloadDelegate::shouldDecodeSourceDataOfMIMEType ( _In_opt_ IWebDownload download,
_In_ BSTR  encodingType,
_Out_ BOOL shouldDecode 
)
virtual

◆ unregisterDownload()

void DefaultDownloadDelegate::unregisterDownload ( IWebDownload download)

◆ willResumeWithResponse()

HRESULT DefaultDownloadDelegate::willResumeWithResponse ( _In_opt_ IWebDownload download,
_In_opt_ IWebURLResponse response,
long long  fromByte 
)
virtual

◆ willSendRequest()

HRESULT DefaultDownloadDelegate::willSendRequest ( _In_opt_ IWebDownload download,
_In_opt_ IWebMutableURLRequest request,
_In_opt_ IWebURLResponse redirectResponse,
_COM_Outptr_opt_ IWebMutableURLRequest **  finalRequest 
)
virtual

Member Data Documentation

◆ m_downloads

HashSet<IWebDownload*> DefaultDownloadDelegate::m_downloads
protected

◆ m_refCount

ULONG DefaultDownloadDelegate::m_refCount { 0 }
protected

The documentation for this class was generated from the following files: