Home | History | Annotate | Download | only in win

Lines Matching refs:DefaultDownloadDelegate

27 #include "DefaultDownloadDelegate.h"
44 // DefaultDownloadDelegate ----------------------------------------------------------------
46 DefaultDownloadDelegate::DefaultDownloadDelegate()
50 gClassNameCount.add("DefaultDownloadDelegate");
53 DefaultDownloadDelegate::~DefaultDownloadDelegate()
56 gClassNameCount.remove("DefaultDownloadDelegate");
62 DefaultDownloadDelegate* DefaultDownloadDelegate::sharedInstance()
64 static COMPtr<DefaultDownloadDelegate> shared;
66 shared.adoptRef(DefaultDownloadDelegate::createInstance());
70 DefaultDownloadDelegate* DefaultDownloadDelegate::createInstance()
72 DefaultDownloadDelegate* instance = new DefaultDownloadDelegate();
79 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::QueryInterface(REFIID riid, void** ppvObject)
93 ULONG STDMETHODCALLTYPE DefaultDownloadDelegate::AddRef()
98 ULONG STDMETHODCALLTYPE DefaultDownloadDelegate::Release()
107 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::decideDestinationWithSuggestedFilename(IWebDownload *download, BSTR filename)
109 LOG(Download, "DefaultDownloadDelegate %p - decideDestinationWithSuggestedFilename %s", download, String(filename, SysStringLen(filename)).ascii().data());
142 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCancelAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge)
144 LOG(Download, "DefaultDownloadDelegate %p - didCancelAuthenticationChallenge %p", download, challenge);
149 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCreateDestination(IWebDownload* download, BSTR destination)
151 LOG(Download, "DefaultDownloadDelegate %p - didCreateDestination %s", download, String(destination, SysStringLen(destination)).ascii().data());
157 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didReceiveAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge)
159 LOG(Download, "DefaultDownloadDelegate %p - didReceiveAuthenticationChallenge %p", download, challenge);
165 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didReceiveDataOfLength(IWebDownload* download, unsigned length)
167 LOG(Download, "DefaultDownloadDelegate %p - didReceiveDataOfLength %i", download, length);
173 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didReceiveResponse(IWebDownload* download, IWebURLResponse* response)
175 LOG(Download, "DefaultDownloadDelegate %p - didReceiveResponse %p", download, response);
181 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::shouldDecodeSourceDataOfMIMEType(IWebDownload* download, BSTR encodingType, BOOL* shouldDecode)
183 LOG(Download, "DefaultDownloadDelegate %p - shouldDecodeSourceDataOfMIMEType %s", download, String(encodingType, SysStringLen(encodingType)).ascii().data());
190 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::willResumeWithResponse(IWebDownload* download, IWebURLResponse* response, long long fromByte)
192 LOG(Download, "DefaultDownloadDelegate %p - willResumeWithResponse %p, %q", download, response, fromByte);
199 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::willSendRequest(IWebDownload* download, IWebMutableURLRequest* request,
202 LOG(Download, "DefaultDownloadDelegate %p - willSendRequest %p %p", download, request, redirectResponse);
210 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didBegin(IWebDownload* download)
212 LOG(Download, "DefaultDownloadDelegate %p - didBegin", download);
217 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didFinish(IWebDownload* download)
219 LOG(Download, "DefaultDownloadDelegate %p - didFinish", download);
224 HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didFailWithError(IWebDownload* download, IWebError* error)
226 LOG(Download, "DefaultDownloadDelegate %p - didFailWithError %p", download, error);
232 void DefaultDownloadDelegate::registerDownload(IWebDownload* download)
240 void DefaultDownloadDelegate::unregisterDownload(IWebDownload* download)