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

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

Issue 2665583002: PaymentApp: Rename PaymentAppRequestData to PaymentAppRequest. (Closed)
Patch Set: android 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.cc
diff --git a/content/browser/service_worker/embedded_worker_test_helper.cc b/content/browser/service_worker/embedded_worker_test_helper.cc
index 65c2a713473178fe3f0f057112667fedd405735e..1a82430e78d9899605e96fa07c9d42ecd1a698be 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.cc
+++ b/content/browser/service_worker/embedded_worker_test_helper.cc
@@ -174,11 +174,11 @@ class EmbeddedWorkerTestHelper::MockServiceWorkerEventDispatcher
}
void DispatchPaymentRequestEvent(
- payments::mojom::PaymentAppRequestDataPtr data,
+ payments::mojom::PaymentAppRequestPtr appRequest,
jam 2017/01/30 18:05:00 ditto this file
const DispatchPaymentRequestEventCallback& callback) override {
if (!helper_)
return;
- helper_->OnPaymentRequestEventStub(std::move(data), callback);
+ helper_->OnPaymentRequestEventStub(std::move(appRequest), callback);
}
void DispatchExtendableMessageEvent(
@@ -385,7 +385,7 @@ void EmbeddedWorkerTestHelper::OnPushEvent(
}
void EmbeddedWorkerTestHelper::OnPaymentRequestEvent(
- payments::mojom::PaymentAppRequestDataPtr data,
+ payments::mojom::PaymentAppRequestPtr appRequest,
const mojom::ServiceWorkerEventDispatcher::
DispatchPaymentRequestEventCallback& callback) {
callback.Run(SERVICE_WORKER_OK, base::Time::Now());
@@ -550,13 +550,13 @@ void EmbeddedWorkerTestHelper::OnPushEventStub(
}
void EmbeddedWorkerTestHelper::OnPaymentRequestEventStub(
- payments::mojom::PaymentAppRequestDataPtr data,
+ payments::mojom::PaymentAppRequestPtr appRequest,
const mojom::ServiceWorkerEventDispatcher::
DispatchPaymentRequestEventCallback& callback) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
base::Bind(&EmbeddedWorkerTestHelper::OnPaymentRequestEvent, AsWeakPtr(),
- base::Passed(std::move(data)), callback));
+ base::Passed(std::move(appRequest)), callback));
}
EmbeddedWorkerRegistry* EmbeddedWorkerTestHelper::registry() {

Powered by Google App Engine
This is Rietveld 408576698