diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebDownloadClient.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/WebDownloadClient.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebKit2/UIProcess/WebDownloadClient.cpp b/Source/WebKit2/UIProcess/WebDownloadClient.cpp index 4b1b756..612a056 100644 --- a/Source/WebKit2/UIProcess/WebDownloadClient.cpp +++ b/Source/WebKit2/UIProcess/WebDownloadClient.cpp @@ -42,6 +42,14 @@ void WebDownloadClient::didStart(WebContext* webContext, DownloadProxy* download m_client.didStart(toAPI(webContext), toAPI(downloadProxy), m_client.clientInfo); } +void WebDownloadClient::didReceiveAuthenticationChallenge(WebContext* webContext, DownloadProxy* downloadProxy, AuthenticationChallengeProxy* authenticationChallengeProxy) +{ + if (!m_client.didReceiveAuthenticationChallenge) + return; + + m_client.didReceiveAuthenticationChallenge(toAPI(webContext), toAPI(downloadProxy), toAPI(authenticationChallengeProxy), m_client.clientInfo); +} + void WebDownloadClient::didReceiveResponse(WebContext* webContext, DownloadProxy* downloadProxy, const ResourceResponse& response) { if (!m_client.didReceiveResponse) |