<rdar://problem/10809525> WebKit2’s WebFrameLoaderClient::shouldUseCredentialStorage...
[WebKit-https.git] / Source / WebKit2 / WebProcess / InjectedBundle / InjectedBundlePageResourceLoadClient.cpp
index 269e0799610001193d742d030e9433489734ff0e..3efe74d467906c2c067ec2865064b50d645ae8de 100644 (file)
@@ -93,4 +93,12 @@ bool InjectedBundlePageResourceLoadClient::shouldCacheResponse(WebPage* page, We
     return m_client.shouldCacheResponse(toAPI(page), toAPI(frame), identifier, m_client.clientInfo);
 }
 
     return m_client.shouldCacheResponse(toAPI(page), toAPI(frame), identifier, m_client.clientInfo);
 }
 
+bool InjectedBundlePageResourceLoadClient::shouldUseCredentialStorage(WebPage* page, WebFrame* frame, uint64_t identifier)
+{
+    if (!m_client.shouldUseCredentialStorage)
+        return true;
+
+    return m_client.shouldUseCredentialStorage(toAPI(page), toAPI(frame), identifier, m_client.clientInfo);
+}
+
 } // namespace WebKit
 } // namespace WebKit