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 d18bef7f3d7cbb74e02b505714d78832b73ba906..c2fdbd52805f2158a56b464df2b5c3d344a4f668 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -131,6 +131,11 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, |
int /* provider_id */, |
GURL /* document_url */) |
+IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrations, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ int /* provider_id */) |
+ |
IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrationForReady, |
int /* thread_id */, |
int /* request_id */, |
@@ -310,6 +315,13 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistration, |
content::ServiceWorkerRegistrationObjectInfo, |
content::ServiceWorkerVersionAttributes) |
+// Response to ServiceWorkerHostMsg_GetRegistrations. |
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistrations, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ std::vector<content::ServiceWorkerRegistrationObjectInfo>, |
+ std::vector<content::ServiceWorkerVersionAttributes>) |
+ |
// Response to ServiceWorkerHostMsg_GetRegistrationForReady. |
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_DidGetRegistrationForReady, |
int /* thread_id */, |
@@ -341,6 +353,14 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerGetRegistrationError, |
blink::WebServiceWorkerError::ErrorType /* code */, |
base::string16 /* message */) |
+// Sent when any kind of registration error occurs during a |
+// GetRegistrations handler above. |
+IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerGetRegistrationsError, |
+ int /* thread_id */, |
+ int /* request_id */, |
+ blink::WebServiceWorkerError::ErrorType /* code */, |
+ base::string16 /* message */) |
+ |
// Informs the child process that the ServiceWorker's state has changed. |
IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerStateChanged, |
int /* thread_id */, |