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 // 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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 614 // the sequential nature of IPCs so that the blob has already been caught. | 614 // the sequential nature of IPCs so that the blob has already been caught. |
| 615 // This is a separate control message, so that the renderer process will send | 615 // This is a separate control message, so that the renderer process will send |
| 616 // an acknowledgement even if the RenderView has closed or navigated away. | 616 // an acknowledgement even if the RenderView has closed or navigated away. |
| 617 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, | 617 IPC_MESSAGE_CONTROL1(ExtensionMsg_TransferBlobs, |
| 618 std::vector<std::string> /* blob_uuids */) | 618 std::vector<std::string> /* blob_uuids */) |
| 619 | 619 |
| 620 // Report the WebView partition ID to the WebView guest renderer process. | 620 // Report the WebView partition ID to the WebView guest renderer process. |
| 621 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetWebViewPartitionID, | 621 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetWebViewPartitionID, |
| 622 std::string /* webview_partition_id */) | 622 std::string /* webview_partition_id */) |
| 623 | 623 |
| 624 // Sent when a 204 or 205 HTTP error is encountered, only with PlzNavigate. | |
| 625 IPC_MESSAGE_ROUTED0(ExtensionMsg_Set204Or205Error) | |
|
Charlie Reis
2016/10/31 17:05:28
Again, I'm wondering if this should be a more gene
Devlin
2016/10/31 17:24:00
If this *does* stay here (I'll trust y'all on that
| |
| 626 | |
| 624 // Messages sent from the renderer to the browser: | 627 // Messages sent from the renderer to the browser: |
| 625 | 628 |
| 626 // A renderer sends this message when an extension process starts an API | 629 // A renderer sends this message when an extension process starts an API |
| 627 // request. The browser will always respond with a ExtensionMsg_Response. | 630 // request. The browser will always respond with a ExtensionMsg_Response. |
| 628 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, | 631 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_Request, |
| 629 ExtensionHostMsg_Request_Params) | 632 ExtensionHostMsg_Request_Params) |
| 630 | 633 |
| 631 // A renderer sends this message when an extension process starts an API | 634 // A renderer sends this message when an extension process starts an API |
| 632 // request. The browser will always respond with a ExtensionMsg_Response. | 635 // request. The browser will always respond with a ExtensionMsg_Response. |
| 633 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, | 636 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RequestForIOThread, |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 897 int64_t /* service_worker_version_id */, | 900 int64_t /* service_worker_version_id */, |
| 898 std::string /* request_uuid */) | 901 std::string /* request_uuid */) |
| 899 | 902 |
| 900 // Asks the browser to decrement the pending activity count for | 903 // Asks the browser to decrement the pending activity count for |
| 901 // the worker with version id |service_worker_version_id|. | 904 // the worker with version id |service_worker_version_id|. |
| 902 // |request_uuid| must match the GUID of a previous request, otherwise the | 905 // |request_uuid| must match the GUID of a previous request, otherwise the |
| 903 // browser process ignores the IPC. | 906 // browser process ignores the IPC. |
| 904 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, | 907 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, |
| 905 int64_t /* service_worker_version_id */, | 908 int64_t /* service_worker_version_id */, |
| 906 std::string /* request_uuid */) | 909 std::string /* request_uuid */) |
| OLD | NEW |