| 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 // IPC messages for extensions. | 5 // IPC messages for extensions. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 | 593 |
| 594 // Dispatch the Port.onConnect event for message channels. | 594 // Dispatch the Port.onConnect event for message channels. |
| 595 IPC_MESSAGE_ROUTED5(ExtensionMsg_DispatchOnConnect, | 595 IPC_MESSAGE_ROUTED5(ExtensionMsg_DispatchOnConnect, |
| 596 int /* target_port_id */, | 596 int /* target_port_id */, |
| 597 std::string /* channel_name */, | 597 std::string /* channel_name */, |
| 598 ExtensionMsg_TabConnectionInfo /* source */, | 598 ExtensionMsg_TabConnectionInfo /* source */, |
| 599 ExtensionMsg_ExternalConnectionInfo, | 599 ExtensionMsg_ExternalConnectionInfo, |
| 600 std::string /* tls_channel_id */) | 600 std::string /* tls_channel_id */) |
| 601 | 601 |
| 602 // Deliver a message sent with ExtensionHostMsg_PostMessage. | 602 // Deliver a message sent with ExtensionHostMsg_PostMessage. |
| 603 IPC_MESSAGE_ROUTED3(ExtensionMsg_DeliverMessage, | 603 IPC_MESSAGE_ROUTED2(ExtensionMsg_DeliverMessage, |
| 604 int /* target_port_id */, | 604 int /* target_port_id */, |
| 605 int /* source_tab_id */, | |
| 606 extensions::Message) | 605 extensions::Message) |
| 607 | 606 |
| 608 // Dispatch the Port.onDisconnect event for message channels. | 607 // Dispatch the Port.onDisconnect event for message channels. |
| 609 IPC_MESSAGE_ROUTED2(ExtensionMsg_DispatchOnDisconnect, | 608 IPC_MESSAGE_ROUTED2(ExtensionMsg_DispatchOnDisconnect, |
| 610 int /* port_id */, | 609 int /* port_id */, |
| 611 std::string /* error_message */) | 610 std::string /* error_message */) |
| 612 | 611 |
| 613 // Informs the renderer what channel (dev, beta, stable, etc) and user session | 612 // Informs the renderer what channel (dev, beta, stable, etc) and user session |
| 614 // type is running. | 613 // type is running. |
| 615 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSessionInfo, | 614 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSessionInfo, |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 int64_t /* service_worker_version_id */, | 922 int64_t /* service_worker_version_id */, |
| 924 std::string /* request_uuid */) | 923 std::string /* request_uuid */) |
| 925 | 924 |
| 926 // Asks the browser to decrement the pending activity count for | 925 // Asks the browser to decrement the pending activity count for |
| 927 // the worker with version id |service_worker_version_id|. | 926 // the worker with version id |service_worker_version_id|. |
| 928 // |request_uuid| must match the GUID of a previous request, otherwise the | 927 // |request_uuid| must match the GUID of a previous request, otherwise the |
| 929 // browser process ignores the IPC. | 928 // browser process ignores the IPC. |
| 930 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, | 929 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, |
| 931 int64_t /* service_worker_version_id */, | 930 int64_t /* service_worker_version_id */, |
| 932 std::string /* request_uuid */) | 931 std::string /* request_uuid */) |
| OLD | NEW |