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 40de8b3c73eea105dfc27b48091751b785c6a923..ea98c131337a9d9179916321d0110a0e53176793 100644 |
--- a/content/browser/service_worker/embedded_worker_test_helper.h |
+++ b/content/browser/service_worker/embedded_worker_test_helper.h |
@@ -21,8 +21,9 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "url/gurl.h" |
-struct EmbeddedWorkerMsg_StartWorker_Params; |
class GURL; |
+struct EmbeddedWorkerMsg_StartWorker_Params; |
+struct ServiceWorkerMsg_ExtendableMessageEvent_Params; |
namespace content { |
@@ -30,11 +31,11 @@ class EmbeddedWorkerRegistry; |
class EmbeddedWorkerTestHelper; |
class MessagePortMessageFilter; |
class MockRenderProcessHost; |
-struct PushEventPayload; |
class ServiceWorkerContextCore; |
class ServiceWorkerContextWrapper; |
-struct ServiceWorkerFetchRequest; |
class TestBrowserContext; |
+struct PushEventPayload; |
+struct ServiceWorkerFetchRequest; |
// In-Process EmbeddedWorker test helper. |
// |
@@ -122,6 +123,7 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, |
// worker. By default they just return success via |
// SimulateSendReplyToBrowser. |
virtual void OnActivateEvent(int embedded_worker_id, int request_id); |
+ virtual void OnExtendableMessageEvent(int embedded_worker_id, int request_id); |
virtual void OnInstallEvent(int embedded_worker_id, int request_id); |
virtual void OnFetchEvent(int embedded_worker_id, |
int request_id, |
@@ -153,6 +155,9 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, |
int embedded_worker_id, |
const IPC::Message& message); |
void OnActivateEventStub(int request_id); |
+ void OnExtendableMessageEventStub( |
+ int request_id, |
+ const ServiceWorkerMsg_ExtendableMessageEvent_Params& params); |
void OnInstallEventStub(int request_id); |
void OnFetchEventStub(int request_id, |
const ServiceWorkerFetchRequest& request); |