Index: content/browser/service_worker/service_worker_version.h |
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h |
index 0dcf9a4c912a1b3c36a2dcf16df83f791951380f..867a71c93baae7fa562e6505b25ecf66abf99ed6 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -155,6 +155,11 @@ class CONTENT_EXPORT ServiceWorkerVersion |
// message is successfully sent or not. |
void SendMessage(const IPC::Message& message, const StatusCallback& callback); |
+ // Sends a message event to the associated embedded worker. |
+ void DispatchMessageEvent(const base::string16& message, |
+ const std::vector<int>& sent_message_port_ids, |
+ const StatusCallback& callback); |
+ |
// Sends install event to the associated embedded worker and asynchronously |
// calls |callback| when it errors out or it gets a response from the worker |
// to notify install completion. |