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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.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/Source/modules/serviceworkers/ServiceWorkerClients.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h
index 5cd7c05bc18ba7d725aa733c2c876b9472055086..35d46c663d9f429258529785fdd1ce7bb1b48030 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h
@@ -29,6 +29,12 @@ class ServiceWorkerClients final
ScriptPromise openWindow(ScriptState*, const String& url);
ScriptPromise claim(ScriptState*);
+ // This interface is not part of Clients.idl. |redirect_url| is the last
+ // navigation occured before |url|.
+ ScriptPromise openWindow(ScriptState*,
+ const String& redirect_url,
+ const String& url);
+
DEFINE_INLINE_TRACE() {}
private:

Powered by Google App Engine
This is Rietveld 408576698