Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: content/browser/service_worker/embedded_worker_test_helper.h

Issue 2610163002: PaymentApp: Implement InvokePaymentApp() in browser side. (Closed)
Patch Set: nhiroki's comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698