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 <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
190 // ServiceWorker. | 190 // ServiceWorker. |
191 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientDocuments, | 191 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_GetClientDocuments, |
192 int /* request_id */) | 192 int /* request_id */) |
193 | 193 |
194 // Sends a 'message' event to a client document (renderer->browser). | 194 // Sends a 'message' event to a client document (renderer->browser). |
195 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PostMessageToDocument, | 195 IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_PostMessageToDocument, |
196 int /* client_id */, | 196 int /* client_id */, |
197 base::string16 /* message */, | 197 base::string16 /* message */, |
198 std::vector<int> /* sent_message_port_ids */) | 198 std::vector<int> /* sent_message_port_ids */) |
199 | 199 |
200 // Asks the browser to force this worker become activated. | |
falken
2014/11/19 04:19:56
nit: "to become activated"
xiang
2014/11/24 07:04:01
Done.
| |
201 IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_SkipWaiting, | |
202 int /* request_id */) | |
203 | |
200 // CacheStorage operations in the browser. | 204 // CacheStorage operations in the browser. |
201 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, | 205 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageHas, |
202 int /* request_id */, | 206 int /* request_id */, |
203 base::string16 /* fetch_store_name */) | 207 base::string16 /* fetch_store_name */) |
204 | 208 |
205 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, | 209 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageOpen, |
206 int /* request_id */, | 210 int /* request_id */, |
207 base::string16 /* fetch_store_name */) | 211 base::string16 /* fetch_store_name */) |
208 | 212 |
209 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, | 213 IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_CacheStorageDelete, |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
357 std::string /* data */) | 361 std::string /* data */) |
358 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, | 362 IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
359 int /* request_id */, | 363 int /* request_id */, |
360 blink::WebGeofencingEventType /* event_type */, | 364 blink::WebGeofencingEventType /* event_type */, |
361 std::string /* region_id */, | 365 std::string /* region_id */, |
362 blink::WebCircularGeofencingRegion /* region */) | 366 blink::WebCircularGeofencingRegion /* region */) |
363 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, | 367 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_MessageToWorker, |
364 base::string16 /* message */, | 368 base::string16 /* message */, |
365 std::vector<int> /* sent_message_port_ids */, | 369 std::vector<int> /* sent_message_port_ids */, |
366 std::vector<int> /* new_routing_ids */) | 370 std::vector<int> /* new_routing_ids */) |
371 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_DidSkipWaiting, | |
372 int /* request_id */) | |
367 | 373 |
368 // Sent via EmbeddedWorker as a response of GetClientDocuments. | 374 // Sent via EmbeddedWorker as a response of GetClientDocuments. |
369 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, | 375 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_DidGetClientDocuments, |
370 int /* request_id */, | 376 int /* request_id */, |
371 std::vector<int> /* client_ids */) | 377 std::vector<int> /* client_ids */) |
372 | 378 |
373 // Sent via EmbeddedWorker at successful completion of CacheStorage operations. | 379 // Sent via EmbeddedWorker at successful completion of CacheStorage operations. |
374 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess, | 380 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_CacheStorageHasSuccess, |
375 int /* request_id */) | 381 int /* request_id */) |
376 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess, | 382 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheStorageOpenSuccess, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
416 blink::WebServiceWorkerCacheError) | 422 blink::WebServiceWorkerCacheError) |
417 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 423 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
418 int /* request_id */, | 424 int /* request_id */, |
419 blink::WebServiceWorkerCacheError) | 425 blink::WebServiceWorkerCacheError) |
420 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 426 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
421 int /* request_id */, | 427 int /* request_id */, |
422 blink::WebServiceWorkerCacheError) | 428 blink::WebServiceWorkerCacheError) |
423 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 429 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
424 int /* request_id */, | 430 int /* request_id */, |
425 blink::WebServiceWorkerCacheError) | 431 blink::WebServiceWorkerCacheError) |
OLD | NEW |