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

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

Issue 2931953002: [Payments] Rename openWindowForClients and openWindowForPaymentHandler (Closed)
Patch Set: address nit 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 00e1a649891f7ba3547314d3a5e6c9d4222666a5..b7d7dc8e4ec6c70fa1a758e23eedeee6a6a65d0d 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -62,13 +62,13 @@ void ServiceWorkerGlobalScopeClientImpl::GetClients(
void ServiceWorkerGlobalScopeClientImpl::OpenWindowForClients(
const WebURL& url,
std::unique_ptr<WebServiceWorkerClientCallbacks> callbacks) {
- client_.OpenWindowForClients(url, std::move(callbacks));
+ client_.OpenNewTab(url, std::move(callbacks));
}
void ServiceWorkerGlobalScopeClientImpl::OpenWindowForPaymentHandler(
const WebURL& url,
std::unique_ptr<WebServiceWorkerClientCallbacks> callbacks) {
- client_.OpenWindowForPaymentHandler(url, std::move(callbacks));
+ client_.OpenNewPopup(url, std::move(callbacks));
}
void ServiceWorkerGlobalScopeClientImpl::SetCachedMetadata(const WebURL& url,

Powered by Google App Engine
This is Rietveld 408576698