Index: Source/web/ServiceWorkerGlobalScopeProxy.h |
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.h b/Source/web/ServiceWorkerGlobalScopeProxy.h |
index e7902cf94e1e2cf23315ef6d9fe4b0e68b2628a7..58a088682171b9bfa0f67fedd46f7f6cfef74cd7 100644 |
--- a/Source/web/ServiceWorkerGlobalScopeProxy.h |
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.h |
@@ -46,6 +46,7 @@ class ServiceWorkerGlobalScope; |
class WebEmbeddedWorkerImpl; |
class WebServiceWorkerContextClient; |
class WebServiceWorkerRequest; |
+struct WebSyncRegistration; |
// This class is created and destructed on the main thread, but live most |
// of its time as a resident of the worker thread. |
@@ -79,7 +80,10 @@ public: |
void dispatchNotificationClickEvent(int, int64_t notificationID, const WebNotificationData&) override; |
void dispatchPushEvent(int, const WebString& data) override; |
void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, const WebURL& targetURL, const WebString& origin, WebServicePortID) override; |
+ // TODO(iclelland): Remove the single-parameter version once all call sites |
+ // have been updated. |
void dispatchSyncEvent(int) override; |
+ void dispatchSyncEvent(int, const WebSyncRegistration&) override; |
void addStashedMessagePorts(const WebMessagePortChannelArray&, const WebVector<WebString>& webChannelNames) override; |
// WorkerReportingProxy overrides: |