Index: content/browser/navigator_connect/navigator_connect_service_worker_service_factory.h |
diff --git a/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.h b/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.h |
index 4e0239f8c4df9fba0e3b97625c28d9490961aab0..cd935fb7ff50bbb41daa8104051be5c8c0174277 100644 |
--- a/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.h |
+++ b/content/browser/navigator_connect/navigator_connect_service_worker_service_factory.h |
@@ -8,6 +8,7 @@ |
#include <map> |
#include "base/memory/weak_ptr.h" |
+#include "base/strings/string16.h" |
#include "content/common/service_worker/service_worker_status_code.h" |
#include "content/public/browser/navigator_connect_service_factory.h" |
@@ -42,14 +43,16 @@ class NavigatorConnectServiceWorkerServiceFactory |
ServiceWorkerStatusCode status, |
const scoped_refptr<ServiceWorkerRegistration>& registration); |
- // Callback called when the service worker finished handling the cross origin |
+ // Callback called when the service worker finished handling the service port |
// connection event. |
void OnConnectResult( |
const ConnectCallback& callback, |
const NavigatorConnectClient& client, |
const scoped_refptr<ServiceWorkerRegistration>& registration, |
ServiceWorkerStatusCode status, |
- bool accept_connection); |
+ bool accept_connection, |
+ const base::string16& name, |
+ const base::string16& data); |
scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; |
base::WeakPtrFactory<NavigatorConnectServiceWorkerServiceFactory> |