Lines Matching refs:downloadProxy
37 void WebDownloadClient::didStart(WebContext* webContext, DownloadProxy* downloadProxy)
42 m_client.didStart(toAPI(webContext), toAPI(downloadProxy), m_client.clientInfo);
45 void WebDownloadClient::didReceiveAuthenticationChallenge(WebContext* webContext, DownloadProxy* downloadProxy, AuthenticationChallengeProxy* authenticationChallengeProxy)
50 m_client.didReceiveAuthenticationChallenge(toAPI(webContext), toAPI(downloadProxy), toAPI(authenticationChallengeProxy), m_client.clientInfo);
53 void WebDownloadClient::didReceiveResponse(WebContext* webContext, DownloadProxy* downloadProxy, const ResourceResponse& response)
58 m_client.didReceiveResponse(toAPI(webContext), toAPI(downloadProxy), toAPI(WebURLResponse::create(response).get()), m_client.clientInfo);
61 void WebDownloadClient::didReceiveData(WebContext* webContext, DownloadProxy* downloadProxy, uint64_t length)
66 m_client.didReceiveData(toAPI(webContext), toAPI(downloadProxy), length, m_client.clientInfo);
69 bool WebDownloadClient::shouldDecodeSourceDataOfMIMEType(WebContext* webContext, DownloadProxy* downloadProxy, const String& mimeType)
74 return m_client.shouldDecodeSourceDataOfMIMEType(toAPI(webContext), toAPI(downloadProxy), toAPI(mimeType.impl()), m_client.clientInfo);
77 String WebDownloadClient::decideDestinationWithSuggestedFilename(WebContext* webContext, DownloadProxy* downloadProxy, const String& filename, bool& allowOverwrite)
82 WKRetainPtr<WKStringRef> destination(AdoptWK, m_client.decideDestinationWithSuggestedFilename(toAPI(webContext), toAPI(downloadProxy), toAPI(filename.impl()), &allowOverwrite, m_client.clientInfo));
86 void WebDownloadClient::didCreateDestination(WebContext* webContext, DownloadProxy* downloadProxy, const String& path)
91 m_client.didCreateDestination(toAPI(webContext), toAPI(downloadProxy), toAPI(path.impl()), m_client.clientInfo);
94 void WebDownloadClient::didFinish(WebContext* webContext, DownloadProxy* downloadProxy)
99 m_client.didFinish(toAPI(webContext), toAPI(downloadProxy), m_client.clientInfo);
102 void WebDownloadClient::didFail(WebContext* webContext, DownloadProxy* downloadProxy, const ResourceError& error)
107 m_client.didFail(toAPI(webContext), toAPI(downloadProxy), toAPI(error), m_client.clientInfo);
110 void WebDownloadClient::didCancel(WebContext* webContext, DownloadProxy* downloadProxy)
115 m_client.didCancel(toAPI(webContext), toAPI(downloadProxy), m_client.clientInfo);
118 void WebDownloadClient::processDidCrash(WebContext* webContext, DownloadProxy* downloadProxy)
123 m_client.processDidCrash(toAPI(webContext), toAPI(downloadProxy), m_client.clientInfo);