| Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| index b10ffc9866d34bfb0d4d25dc272f76cc28330f74..5d62154866451c5fc19c8fac1c056a14101523ab 100644
|
| --- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
|
| @@ -131,18 +131,28 @@ void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent(
|
| m_client.respondToFetchEvent(fetchEventID, eventDispatchTime);
|
| }
|
|
|
| -void ServiceWorkerGlobalScopeClientImpl::respondToPaymentRequestEvent(
|
| - int eventID,
|
| - const WebPaymentAppResponse& response,
|
| +void ServiceWorkerGlobalScopeClientImpl::respondToFetchEventWithResponse(
|
| + int fetchEventID,
|
| + const WebServiceWorkerResponse& response,
|
| double eventDispatchTime) {
|
| - m_client.respondToPaymentRequestEvent(eventID, response, eventDispatchTime);
|
| + m_client.respondToFetchEventWithResponse(fetchEventID, response,
|
| + eventDispatchTime);
|
| }
|
|
|
| -void ServiceWorkerGlobalScopeClientImpl::respondToFetchEvent(
|
| +void ServiceWorkerGlobalScopeClientImpl::respondToFetchEventWithResponseStream(
|
| int fetchEventID,
|
| const WebServiceWorkerResponse& response,
|
| + mojo::ScopedDataPipeConsumerHandle data_stream,
|
| double eventDispatchTime) {
|
| - m_client.respondToFetchEvent(fetchEventID, response, eventDispatchTime);
|
| + m_client.respondToFetchEventWithResponseStream(
|
| + fetchEventID, response, std::move(data_stream), eventDispatchTime);
|
| +}
|
| +
|
| +void ServiceWorkerGlobalScopeClientImpl::respondToPaymentRequestEvent(
|
| + int eventID,
|
| + const WebPaymentAppResponse& response,
|
| + double eventDispatchTime) {
|
| + m_client.respondToPaymentRequestEvent(eventID, response, eventDispatchTime);
|
| }
|
|
|
| void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(
|
|
|