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

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

Issue 2893823004: [Payments] Implement openWindow for service worker based payment handler (Closed)
Patch Set: address comments 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
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..cefdff2e5f3e13de491bf6eb1da7560abe7b8078 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -60,9 +60,10 @@ void ServiceWorkerGlobalScopeClientImpl::GetClients(
}
void ServiceWorkerGlobalScopeClientImpl::OpenWindow(
+ const WebURL& redirect_url,
const WebURL& url,
std::unique_ptr<WebServiceWorkerClientCallbacks> callbacks) {
- client_.OpenWindow(url, std::move(callbacks));
+ client_.OpenWindow(redirect_url, url, std::move(callbacks));
}
void ServiceWorkerGlobalScopeClientImpl::SetCachedMetadata(const WebURL& url,

Powered by Google App Engine
This is Rietveld 408576698