| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 // Sends a 'message' event to a client document (browser->renderer). | 419 // Sends a 'message' event to a client document (browser->renderer). |
| 420 IPC_MESSAGE_CONTROL5( | 420 IPC_MESSAGE_CONTROL5( |
| 421 ServiceWorkerMsg_MessageToDocument, | 421 ServiceWorkerMsg_MessageToDocument, |
| 422 int /* thread_id */, | 422 int /* thread_id */, |
| 423 int /* provider_id */, | 423 int /* provider_id */, |
| 424 base::string16 /* message */, | 424 base::string16 /* message */, |
| 425 std::vector<content::TransferredMessagePort> /* sent_message_ports */, | 425 std::vector<content::TransferredMessagePort> /* sent_message_ports */, |
| 426 std::vector<int> /* new_routing_ids */) | 426 std::vector<int> /* new_routing_ids */) |
| 427 | 427 |
| 428 // Sent via EmbeddedWorker to dispatch events. | 428 // Sent via EmbeddedWorker to dispatch events. |
| 429 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_InstallEvent, | 429 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_InstallEvent, |
| 430 int /* request_id */, | 430 int /* request_id */) |
| 431 int /* active_version_id */) | |
| 432 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, | 431 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_ActivateEvent, |
| 433 int /* request_id */) | 432 int /* request_id */) |
| 434 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, | 433 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FetchEvent, |
| 435 int /* request_id */, | 434 int /* request_id */, |
| 436 content::ServiceWorkerFetchRequest) | 435 content::ServiceWorkerFetchRequest) |
| 437 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, | 436 IPC_MESSAGE_CONTROL1(ServiceWorkerMsg_SyncEvent, |
| 438 int /* request_id */) | 437 int /* request_id */) |
| 439 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, | 438 IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_NotificationClickEvent, |
| 440 int /* request_id */, | 439 int /* request_id */, |
| 441 std::string /* notification_id */, | 440 std::string /* notification_id */, |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 blink::WebServiceWorkerCacheError) | 544 blink::WebServiceWorkerCacheError) |
| 546 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, | 545 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheMatchAllError, |
| 547 int /* request_id */, | 546 int /* request_id */, |
| 548 blink::WebServiceWorkerCacheError) | 547 blink::WebServiceWorkerCacheError) |
| 549 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, | 548 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheKeysError, |
| 550 int /* request_id */, | 549 int /* request_id */, |
| 551 blink::WebServiceWorkerCacheError) | 550 blink::WebServiceWorkerCacheError) |
| 552 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, | 551 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_CacheBatchError, |
| 553 int /* request_id */, | 552 int /* request_id */, |
| 554 blink::WebServiceWorkerCacheError) | 553 blink::WebServiceWorkerCacheError) |
| OLD | NEW |