<http://webkit.org/b/59838> Implement HTTP pipelining for CoreFoundation-based networking
[WebKit-https.git] / Source / WebKit / win / WebView.cpp
index 3c0a7966bc2069d454ccd020adfdc2db08125be4..924505255590d7e166c27eec482df3b4cb032dcf 100644 (file)
 #include <WebCore/RenderWidget.h>
 #include <WebCore/ResourceHandle.h>
 #include <WebCore/ResourceHandleClient.h>
+#include <WebCore/ResourceRequest.h>
 #include <WebCore/SchemeRegistry.h>
 #include <WebCore/ScriptValue.h>
 #include <WebCore/Scrollbar.h>
@@ -6737,6 +6738,20 @@ HRESULT WebView::setMinimumTimerInterval(double interval)
     return S_OK;
 }
 
+HRESULT WebView::httpPipeliningEnabled(BOOL* enabled)
+{
+    if (!enabled)
+        return E_POINTER;
+    *enabled = ResourceRequest::httpPipeliningEnabled();
+    return S_OK;
+}
+
+HRESULT WebView::setHTTPPipeliningEnabled(BOOL enabled)
+{
+    ResourceRequest::setHTTPPipeliningEnabled(enabled);
+    return S_OK;
+}
+
 void WebView::setGlobalHistoryItem(HistoryItem* historyItem)
 {
     m_globalHistoryItem = historyItem;