Add (entirely incorrect) fetching of ServiceWorker scripts.
[WebKit-https.git] / Source / WebKit / WebProcess / Storage / WebSWClientConnection.cpp
index 182649a..bb3db6b 100644 (file)
@@ -30,7 +30,9 @@
 
 #include "Logging.h"
 #include "StorageToWebProcessConnectionMessages.h"
+#include "WebCoreArgumentCoders.h"
 #include "WebSWServerConnectionMessages.h"
+#include <WebCore/ServiceWorkerFetchResult.h>
 #include <WebCore/ServiceWorkerJobData.h>
 
 using namespace PAL;
@@ -56,6 +58,11 @@ void WebSWClientConnection::scheduleJobInServer(const ServiceWorkerJobData& jobD
     send(Messages::WebSWServerConnection::ScheduleJobInServer(jobData));
 }
 
+void WebSWClientConnection::finishFetchingScriptInServer(const ServiceWorkerFetchResult& result)
+{
+    send(Messages::WebSWServerConnection::FinishFetchingScriptInServer(result));
+}
+
 } // namespace WebKit
 
 #endif // ENABLE(SERVICE_WORKER)