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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp

Issue 2898223002: PaymentHandler: Rename PaymentAppRequest with PaymentRequestEventData. (Closed)
Patch Set: Rename Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index 5c187d33f8d60afbb03be3630276221688ff235d..43bb674ff7f95539b7ce1764bc62427d65b4f9c9 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -54,9 +54,9 @@
#include "modules/notifications/Notification.h"
#include "modules/notifications/NotificationEvent.h"
#include "modules/notifications/NotificationEventInit.h"
-#include "modules/payments/PaymentAppRequest.h"
-#include "modules/payments/PaymentAppRequestConversion.h"
#include "modules/payments/PaymentRequestEvent.h"
+#include "modules/payments/PaymentRequestEventDataConversion.h"
+#include "modules/payments/PaymentRequestEventInit.h"
#include "modules/payments/PaymentRequestRespondWithObserver.h"
#include "modules/push_messaging/PushEvent.h"
#include "modules/push_messaging/PushMessageData.h"
@@ -453,7 +453,7 @@ void ServiceWorkerGlobalScopeProxy::DispatchSyncEvent(
void ServiceWorkerGlobalScopeProxy::DispatchPaymentRequestEvent(
int event_id,
- const WebPaymentAppRequest& web_app_request) {
+ const WebPaymentRequestEventData& web_app_request) {
WaitUntilObserver* wait_until_observer = WaitUntilObserver::Create(
WorkerGlobalScope(), WaitUntilObserver::kPaymentRequest, event_id);
RespondWithObserver* respond_with_observer =
@@ -462,7 +462,7 @@ void ServiceWorkerGlobalScopeProxy::DispatchPaymentRequestEvent(
Event* event = PaymentRequestEvent::Create(
EventTypeNames::paymentrequest,
- PaymentAppRequestConversion::ToPaymentAppRequest(
+ PaymentRequestEventDataConversion::ToPaymentRequestEventInit(
WorkerGlobalScope()->ScriptController()->GetScriptState(),
web_app_request),
respond_with_observer, wait_until_observer);
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698