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

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

Issue 893783002: Revert of Gather the ServiceWorker client information in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rfh_getvisibilitystate
Patch Set: Created 5 years, 11 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 745eafb9d337224ee1284e09e318ccd33de0a8d3..20b13ec13a2178c3fbabee831d1e42febe9507ad 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -8,7 +8,6 @@
#include <vector>
#include "base/strings/string16.h"
-#include "content/common/service_worker/service_worker_client_info.h"
#include "content/common/service_worker/service_worker_status_code.h"
#include "content/common/service_worker/service_worker_types.h"
#include "content/public/common/navigator_connect_client.h"
@@ -228,6 +227,15 @@
int /* request_id */,
int /* client_id */)
+// Response to ServiceWorkerMsg_GetClientInfo.
+IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_GetClientInfoSuccess,
+ int /* request_id */,
+ content::ServiceWorkerClientInfo)
+
+// Response to ServiceWorkerMsg_GetClientInfo.
+IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientInfoError,
+ int /* request_id */)
+
// Asks the browser to force this worker to become activated.
IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting,
int /* request_id */)
@@ -389,6 +397,13 @@
base::string16 /* message */,
std::vector<int> /* sent_message_port_ids */,
std::vector<int> /* new_routing_ids */)
+
+// Sent to client documents to request document properties.
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GetClientInfo,
+ int /* thread_id */,
+ int /* embedded_worker_id */,
+ int /* request_id */,
+ int /* provider_id */)
// Sent via EmbeddedWorker to dispatch events.
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent,
« no previous file with comments | « content/common/service_worker/service_worker_client_info.cc ('k') | content/common/service_worker/service_worker_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698