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

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

Issue 2665583002: PaymentApp: Rename PaymentAppRequestData to PaymentAppRequest. (Closed)
Patch Set: PaymentApp: Rename PaymentAppRequestData to PaymentAppRequest. 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..da005712c138d692db181626ac7919d4dffb16f9 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 app_request,
const DispatchPaymentRequestEventCallback& callback) override {
if (!helper_)
return;
- helper_->OnPaymentRequestEventStub(std::move(data), callback);
+ helper_->OnPaymentRequestEventStub(std::move(app_request), callback);
}
void DispatchExtendableMessageEvent(
@@ -385,7 +385,7 @@ void EmbeddedWorkerTestHelper::OnPushEvent(
}
void EmbeddedWorkerTestHelper::OnPaymentRequestEvent(
- payments::mojom::PaymentAppRequestDataPtr data,
+ payments::mojom::PaymentAppRequestPtr app_request,
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 app_request,
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(app_request)), callback));
}
EmbeddedWorkerRegistry* EmbeddedWorkerTestHelper::registry() {

Powered by Google App Engine
This is Rietveld 408576698