| 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 2c40c232758c01460e31030bc3c993ebc20a8cad..ff75ff93d5e1a42d7f346520e008c8f0d536a5a3 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 */,
|
| @@ -304,6 +309,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 */,
|
| @@ -335,6 +347,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 */,
|
|
|