Chromium Code Reviews| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 112 //--------------------------------------------------------------------------- | 112 //--------------------------------------------------------------------------- |
| 113 // Messages sent from the child process to the browser. | 113 // Messages sent from the child process to the browser. |
| 114 | 114 |
| 115 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, | 115 IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker, |
| 116 int /* thread_id */, | 116 int /* thread_id */, |
| 117 int /* request_id */, | 117 int /* request_id */, |
| 118 int /* provider_id */, | 118 int /* provider_id */, |
| 119 GURL /* scope */, | 119 GURL /* scope */, |
| 120 GURL /* script_url */) | 120 GURL /* script_url */) |
| 121 | 121 |
| 122 IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_UpdateServiceWorker, | |
| 123 int /* provider_id */, | |
| 124 int64 /* registration_id */) | |
| 125 | |
| 122 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, | 126 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker, |
| 123 int /* thread_id */, | 127 int /* thread_id */, |
| 124 int /* request_id */, | 128 int /* request_id */, |
| 125 int /* provider_id */, | 129 int /* provider_id */, |
| 126 GURL /* scope (url pattern) */) | 130 GURL /* scope */) |
|
Mike West
2015/06/12 13:02:06
What does this change imply?
nhiroki
2015/06/12 14:59:50
Just a cleanup. In the early SW spec, “pattern” wa
| |
| 127 | 131 |
| 128 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, | 132 IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_GetRegistration, |
| 129 int /* thread_id */, | 133 int /* thread_id */, |
| 130 int /* request_id */, | 134 int /* request_id */, |
| 131 int /* provider_id */, | 135 int /* provider_id */, |
| 132 GURL /* document_url */) | 136 GURL /* document_url */) |
| 133 | 137 |
| 134 IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrations, | 138 IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_GetRegistrations, |
| 135 int /* thread_id */, | 139 int /* thread_id */, |
| 136 int /* request_id */, | 140 int /* request_id */, |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 465 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, | 469 IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_FocusClientResponse, |
| 466 int /* request_id */, | 470 int /* request_id */, |
| 467 content::ServiceWorkerClientInfo /* client */) | 471 content::ServiceWorkerClientInfo /* client */) |
| 468 | 472 |
| 469 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. | 473 // Sent via EmbeddedWorker to transfer a stashed message port to the worker. |
| 470 IPC_MESSAGE_CONTROL3( | 474 IPC_MESSAGE_CONTROL3( |
| 471 ServiceWorkerMsg_SendStashedMessagePorts, | 475 ServiceWorkerMsg_SendStashedMessagePorts, |
| 472 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, | 476 std::vector<content::TransferredMessagePort> /* stashed_message_ports */, |
| 473 std::vector<int> /* new_routing_ids */, | 477 std::vector<int> /* new_routing_ids */, |
| 474 std::vector<base::string16> /* port_names */) | 478 std::vector<base::string16> /* port_names */) |
| OLD | NEW |