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

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h

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/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
index dbf6ed60ddf062dde123e9bd4961de008e1f7165..a640e770605d083bca3405f2fa66e7b06c93e73d 100644
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
@@ -272,8 +272,14 @@ class WebServiceWorkerContextClient {
// should delete the callbacks after calling either onSuccess or onError.
// WebServiceWorkerClientInfo and WebServiceWorkerError ownerships are
// passed to the WebServiceWorkerClientsCallbacks implementation.
- virtual void OpenWindow(const WebURL&,
- std::unique_ptr<WebServiceWorkerClientCallbacks>) = 0;
+ virtual void OpenWindowForClients(
+ const WebURL&,
+ std::unique_ptr<WebServiceWorkerClientCallbacks>) = 0;
+
+ // Similar like OpenWindowForClients above.
+ virtual void OpenWindowForPaymentHandler(
+ const WebURL&,
+ std::unique_ptr<WebServiceWorkerClientCallbacks>) = 0;
// A suggestion to cache this metadata in association with this URL.
virtual void SetCachedMetadata(const WebURL& url,

Powered by Google App Engine
This is Rietveld 408576698