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

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

Issue 2893823004: [Payments] Implement openWindow for service worker based payment handler (Closed)
Patch Set: rename ipc messages Created 3 years, 6 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: 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 02a8258a0d7a3b6f0902f46e3a67cacb19b15791..00e1a649891f7ba3547314d3a5e6c9d4222666a5 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -59,10 +59,16 @@ void ServiceWorkerGlobalScopeClientImpl::GetClients(
client_.GetClients(options, std::move(callbacks));
}
-void ServiceWorkerGlobalScopeClientImpl::OpenWindow(
+void ServiceWorkerGlobalScopeClientImpl::OpenWindowForClients(
const WebURL& url,
std::unique_ptr<WebServiceWorkerClientCallbacks> callbacks) {
- client_.OpenWindow(url, std::move(callbacks));
+ client_.OpenWindowForClients(url, std::move(callbacks));
+}
+
+void ServiceWorkerGlobalScopeClientImpl::OpenWindowForPaymentHandler(
+ const WebURL& url,
+ std::unique_ptr<WebServiceWorkerClientCallbacks> callbacks) {
+ client_.OpenWindowForPaymentHandler(url, std::move(callbacks));
}
void ServiceWorkerGlobalScopeClientImpl::SetCachedMetadata(const WebURL& url,

Powered by Google App Engine
This is Rietveld 408576698