| 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 // Tell the render view to clear tab-specific permissions for some extensions. | 532 // Tell the render view to clear tab-specific permissions for some extensions. |
| 533 IPC_MESSAGE_CONTROL3(ExtensionMsg_ClearTabSpecificPermissions, | 533 IPC_MESSAGE_CONTROL3(ExtensionMsg_ClearTabSpecificPermissions, |
| 534 std::vector<std::string> /* extension_ids */, | 534 std::vector<std::string> /* extension_ids */, |
| 535 bool /* update origin whitelist */, | 535 bool /* update origin whitelist */, |
| 536 int /* tab_id */) | 536 int /* tab_id */) |
| 537 | 537 |
| 538 // Tell the renderer which type this view is. | 538 // Tell the renderer which type this view is. |
| 539 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, | 539 IPC_MESSAGE_ROUTED1(ExtensionMsg_NotifyRenderViewType, |
| 540 extensions::ViewType /* view_type */) | 540 extensions::ViewType /* view_type */) |
| 541 | 541 |
| 542 // Deliver a message sent with ExtensionHostMsg_PostMessage. | |
| 543 IPC_MESSAGE_CONTROL1(ExtensionMsg_UsingWebRequestAPI, | |
| 544 bool /* webrequest_used */) | |
| 545 | |
| 546 // The browser's response to the ExtensionMsg_WakeEventPage IPC. | 542 // The browser's response to the ExtensionMsg_WakeEventPage IPC. |
| 547 IPC_MESSAGE_CONTROL2(ExtensionMsg_WakeEventPageResponse, | 543 IPC_MESSAGE_CONTROL2(ExtensionMsg_WakeEventPageResponse, |
| 548 int /* request_id */, | 544 int /* request_id */, |
| 549 bool /* success */) | 545 bool /* success */) |
| 550 | 546 |
| 551 // Ask the lazy background page if it is ready to be suspended. This is sent | 547 // Ask the lazy background page if it is ready to be suspended. This is sent |
| 552 // when the page is considered idle. The renderer will reply with the same | 548 // when the page is considered idle. The renderer will reply with the same |
| 553 // sequence_id so that we can tell which message it is responding to. | 549 // sequence_id so that we can tell which message it is responding to. |
| 554 IPC_MESSAGE_CONTROL2(ExtensionMsg_ShouldSuspend, | 550 IPC_MESSAGE_CONTROL2(ExtensionMsg_ShouldSuspend, |
| 555 std::string /* extension_id */, | 551 std::string /* extension_id */, |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 int64_t /* service_worker_version_id */, | 894 int64_t /* service_worker_version_id */, |
| 899 std::string /* request_uuid */) | 895 std::string /* request_uuid */) |
| 900 | 896 |
| 901 // Asks the browser to decrement the pending activity count for | 897 // Asks the browser to decrement the pending activity count for |
| 902 // the worker with version id |service_worker_version_id|. | 898 // the worker with version id |service_worker_version_id|. |
| 903 // |request_uuid| must match the GUID of a previous request, otherwise the | 899 // |request_uuid| must match the GUID of a previous request, otherwise the |
| 904 // browser process ignores the IPC. | 900 // browser process ignores the IPC. |
| 905 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, | 901 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, |
| 906 int64_t /* service_worker_version_id */, | 902 int64_t /* service_worker_version_id */, |
| 907 std::string /* request_uuid */) | 903 std::string /* request_uuid */) |
| OLD | NEW |