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 9a6dc603b74d7bc1e86162754cee6c2c62ed980b..125215d9fc45806daa3bce0493fbe6997cc29952 100644 |
--- a/content/browser/service_worker/embedded_worker_test_helper.h |
+++ b/content/browser/service_worker/embedded_worker_test_helper.h |
@@ -194,6 +194,10 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, |
const PushEventPayload& payload, |
const mojom::ServiceWorkerEventDispatcher::DispatchPushEventCallback& |
callback); |
+ virtual void OnPaymentRequestEvent( |
+ payments::mojom::PaymentAppRequestDataPtr data, |
+ const mojom::ServiceWorkerEventDispatcher:: |
+ DispatchPaymentRequestEventCallback& callback); |
// These functions simulate sending an EmbeddedHostMsg message through the |
// legacy IPC system to the browser. |
@@ -235,6 +239,10 @@ class EmbeddedWorkerTestHelper : public IPC::Sender, |
const PushEventPayload& payload, |
const mojom::ServiceWorkerEventDispatcher::DispatchPushEventCallback& |
callback); |
+ void OnPaymentRequestEventStub( |
+ payments::mojom::PaymentAppRequestDataPtr data, |
+ const mojom::ServiceWorkerEventDispatcher:: |
+ DispatchPaymentRequestEventCallback& callback); |
MessagePortMessageFilter* NewMessagePortMessageFilter(); |