Index: content/renderer/service_worker/service_worker_context_client.cc |
diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc |
index 3db1cf81460c105aa474848fddf55db0b01a57ca..bf68c1c019ea1fd903b3884399288c9ff786cb6d 100644 |
--- a/content/renderer/service_worker/service_worker_context_client.cc |
+++ b/content/renderer/service_worker/service_worker_context_client.cc |
@@ -631,13 +631,20 @@ void ServiceWorkerContextClient::GetClients( |
GetRoutingID(), request_id, options)); |
} |
-void ServiceWorkerContextClient::OpenWindow( |
+void ServiceWorkerContextClient::OpenWindowForClients( |
const blink::WebURL& url, |
std::unique_ptr<blink::WebServiceWorkerClientCallbacks> callbacks) { |
DCHECK(callbacks); |
int request_id = context_->client_callbacks.Add(std::move(callbacks)); |
- Send(new ServiceWorkerHostMsg_OpenWindow( |
- GetRoutingID(), request_id, url)); |
+ Send(new ServiceWorkerHostMsg_OpenNewTab(GetRoutingID(), request_id, url)); |
+} |
+ |
+void ServiceWorkerContextClient::OpenWindowForPaymentHandler( |
+ const blink::WebURL& url, |
+ std::unique_ptr<blink::WebServiceWorkerClientCallbacks> callbacks) { |
+ DCHECK(callbacks); |
+ int request_id = context_->client_callbacks.Add(std::move(callbacks)); |
+ Send(new ServiceWorkerHostMsg_OpenNewPopup(GetRoutingID(), request_id, url)); |
} |
void ServiceWorkerContextClient::SetCachedMetadata(const blink::WebURL& url, |