Index: content/browser/service_worker/service_worker_client_utils.h |
diff --git a/content/browser/service_worker/service_worker_client_utils.h b/content/browser/service_worker/service_worker_client_utils.h |
index be46f6c13e78b3ce44d5ece4aac6f074d98e4f60..0d865723927d3173a0ac631263fc270aeeddfbbb 100644 |
--- a/content/browser/service_worker/service_worker_client_utils.h |
+++ b/content/browser/service_worker/service_worker_client_utils.h |
@@ -37,9 +37,11 @@ using ClientsCallback = base::Callback<void(ServiceWorkerClients* clients)>; |
void FocusWindowClient(ServiceWorkerProviderHost* provider_host, |
const ClientCallback& callback); |
-// Opens a new window and navigates it to |url|. |callback| is called with the |
+// Opens a new window and navigates it to |url_to_open|. |redirect_url| is the |
+// last navigation occured before |url_to_open|. |callback| is called with the |
// window's client information on completion. |
-void OpenWindow(const GURL& url, |
+void OpenWindow(const GURL& redirect_url, |
+ const GURL& url_to_open, |
const GURL& script_url, |
int worker_process_id, |
const base::WeakPtr<ServiceWorkerContextCore>& context, |