Chromium Code Reviews| Index: content/common/service_worker_messages.h |
| diff --git a/content/common/service_worker_messages.h b/content/common/service_worker_messages.h |
| index 92c6e908994ac442deec2399ce256e09ba4b638d..0a4164b1dc046090d2a6e6a237df4b1b4d809335 100644 |
| --- a/content/common/service_worker_messages.h |
| +++ b/content/common/service_worker_messages.h |
| @@ -8,6 +8,7 @@ |
| #include "ipc/ipc_message_macros.h" |
| #include "ipc/ipc_param_traits.h" |
| #include "third_party/WebKit/public/platform/WebServiceWorkerError.h" |
| +#include "third_party/WebKit/public/web/WebContentSecurityPolicy.h" |
|
Tom Sepez
2013/11/21 20:03:46
nit: is this include really necessary?
kinuko
2013/11/22 03:46:20
Nope... removed.
|
| #include "url/gurl.h" |
| #undef IPC_MESSAGE_EXPORT |
| @@ -50,3 +51,15 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError, |
| int32 /* request_id */, |
| blink::WebServiceWorkerError::ErrorType /* code */, |
| string16 /* message */) |
| + |
| +// For EmbeddedWorker related messages ------------------------------------- |
| + |
| +// Browser -> Renderer message to create a new embedded worker context. |
| +IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_StartWorker, |
| + int /* embedded_worker_id */, |
|
Tom Sepez
2013/11/21 20:03:46
nit: do we want this to be an int32 for consistenc
kinuko
2013/11/22 03:46:20
We're thinking about changing other int32's to int
|
| + int64 /* service_worker_version_id */, |
| + GURL /* script_url */) |
| + |
| +// Browser -> Renderer message to terminate the embedded worker. |
| +IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_TerminateWorker, |
| + int /* embedded_worker_id */) |