| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Message definition file, included multiple times, hence no include guard. | 5 // Message definition file, included multiple times, hence no include guard. |
| 6 | 6 |
| 7 #include "base/strings/string16.h" | 7 #include "base/strings/string16.h" |
| 8 #include "content/common/service_worker/service_worker_status_code.h" | 8 #include "content/common/service_worker/service_worker_status_code.h" |
| 9 #include "content/common/service_worker/service_worker_types.h" | 9 #include "content/common/service_worker/service_worker_types.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_Message, | 133 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_Message, |
| 134 base::string16 /* message */, | 134 base::string16 /* message */, |
| 135 std::vector<int> /* sent_message_port_ids */, | 135 std::vector<int> /* sent_message_port_ids */, |
| 136 std::vector<int> /* new_routing_ids */) | 136 std::vector<int> /* new_routing_ids */) |
| 137 | 137 |
| 138 // Sent via EmbeddedWorker to dispatch sync event. | 138 // Sent via EmbeddedWorker to dispatch sync event. |
| 139 IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_SyncEvent) | 139 IPC_MESSAGE_CONTROL0(ServiceWorkerMsg_SyncEvent) |
| 140 | 140 |
| 141 // Informs the browser that sync event handling has finished. | 141 // Informs the browser that sync event handling has finished. |
| 142 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_SyncEventFinished) | 142 IPC_MESSAGE_CONTROL0(ServiceWorkerHostMsg_SyncEventFinished) |
| 143 |
| 144 // Informs the browser that the ServiceWorker would like to receive sync events. |
| 145 IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_RequestSyncEvents, |
| 146 bool /* requested */); |
| OLD | NEW |