Index: content/browser/service_worker/embedded_worker_test_helper.h |
diff --git a/content/browser/service_worker/embedded_worker_test_helper.h b/content/browser/service_worker/embedded_worker_test_helper.h |
index a95454a94903d32d6dd4bbe423b7347b2c7eed0f..b37cd1a7a7d7f4238515dc7321ac66c2c647fb50 100644 |
--- a/content/browser/service_worker/embedded_worker_test_helper.h |
+++ b/content/browser/service_worker/embedded_worker_test_helper.h |
@@ -30,6 +30,7 @@ class EmbeddedWorkerRegistry; |
class EmbeddedWorkerTestHelper; |
class MessagePortMessageFilter; |
class MockRenderProcessHost; |
+struct PushEventPayload; |
class ServiceWorkerContextCore; |
class ServiceWorkerContextWrapper; |
struct ServiceWorkerFetchRequest; |
@@ -116,7 +117,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, |
const ServiceWorkerFetchRequest& request); |
virtual void OnPushEvent(int embedded_worker_id, |
int request_id, |
- const std::string& data); |
+ const PushEventPayload& data); |
// These functions simulate sending an EmbeddedHostMsg message to the |
// browser. |
@@ -143,7 +144,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, |
void OnInstallEventStub(int request_id); |
void OnFetchEventStub(int request_id, |
const ServiceWorkerFetchRequest& request); |
- void OnPushEventStub(int request_id, const std::string& data); |
+ void OnPushEventStub(int request_id, const PushEventPayload& payload); |
void OnSetupMojoStub(int thread_id, |
mojo::InterfaceRequest<mojo::ServiceProvider> services, |
mojo::ServiceProviderPtr exposed_services); |