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

Unified Diff: content/common/service_worker/service_worker_messages.h

Issue 1202453002: ServiceWorker: Implement navigate() method in WindowClient (chromium side). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/common/service_worker/service_worker_messages.h
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h
index 76bb4416a8c52cafd7b0cdccec5ccefc0df51ac8..66024f8aa1fd4134966b73dcb21ba5a20c8ff44a 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -272,6 +272,12 @@ IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_FocusClient,
int /* request_id */,
std::string /* uuid */)
+// Ask the browser to navigate a client (renderer->browser).
+IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_NavigateClient,
+ int /* request_id */,
+ std::string /* uuid */,
+ GURL /* url */)
+
// Asks the browser to force this worker to become activated.
IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting,
int /* request_id */)
@@ -468,3 +474,13 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_OpenWindowError,
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse,
int /* request_id */,
content::ServiceWorkerClientInfo /* client */)
+
+// Sent via EmbeddedWorker as a response of NavigateClient.
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientResponse,
+ int /* request_id */,
+ content::ServiceWorkerClientInfo /* client */)
+
+// Sent via EmbeddedWorker as an error response of NavigateClient.
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_NavigateClientError,
+ int /* request_id */,
+ GURL /* url */)

Powered by Google App Engine
This is Rietveld 408576698