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

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: 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
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
dcheng 2017/06/06 21:18:06 Btw, my point was that we should use a consistent
+ const WebURL&,
+ std::unique_ptr<WebServiceWorkerClientCallbacks>) = 0;
// A suggestion to cache this metadata in association with this URL.
virtual void SetCachedMetadata(const WebURL& url,
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImplTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698