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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 // The ID of the extension that initiated the request. May be empty if it | 210 // The ID of the extension that initiated the request. May be empty if it |
211 // wasn't initiated by an extension. | 211 // wasn't initiated by an extension. |
212 IPC_STRUCT_MEMBER(std::string, source_id) | 212 IPC_STRUCT_MEMBER(std::string, source_id) |
213 | 213 |
214 // The URL of the frame that initiated the request. | 214 // The URL of the frame that initiated the request. |
215 IPC_STRUCT_MEMBER(GURL, source_url) | 215 IPC_STRUCT_MEMBER(GURL, source_url) |
216 | 216 |
217 // The process ID of the webview that initiated the request. | 217 // The process ID of the webview that initiated the request. |
218 IPC_STRUCT_MEMBER(int, guest_process_id) | 218 IPC_STRUCT_MEMBER(int, guest_process_id) |
219 | 219 |
220 // The render frame routing ID of the webview that initiated the request. | 220 // The render frame ID of the frame/webview that initiated the request. |
221 IPC_STRUCT_MEMBER(int, guest_render_frame_routing_id) | 221 IPC_STRUCT_MEMBER(int, source_render_frame_routing_id) |
| 222 |
| 223 // True if the request was initiated by a frame in the same process as the |
| 224 // recipient. |
| 225 IPC_STRUCT_MEMBER(bool, source_is_in_same_process) |
222 IPC_STRUCT_END() | 226 IPC_STRUCT_END() |
223 | 227 |
224 IPC_STRUCT_TRAITS_BEGIN(extensions::DraggableRegion) | 228 IPC_STRUCT_TRAITS_BEGIN(extensions::DraggableRegion) |
225 IPC_STRUCT_TRAITS_MEMBER(draggable) | 229 IPC_STRUCT_TRAITS_MEMBER(draggable) |
226 IPC_STRUCT_TRAITS_MEMBER(bounds) | 230 IPC_STRUCT_TRAITS_MEMBER(bounds) |
227 IPC_STRUCT_TRAITS_END() | 231 IPC_STRUCT_TRAITS_END() |
228 | 232 |
229 IPC_STRUCT_TRAITS_BEGIN(content::SocketPermissionRequest) | 233 IPC_STRUCT_TRAITS_BEGIN(content::SocketPermissionRequest) |
230 IPC_STRUCT_TRAITS_MEMBER(type) | 234 IPC_STRUCT_TRAITS_MEMBER(type) |
231 IPC_STRUCT_TRAITS_MEMBER(host) | 235 IPC_STRUCT_TRAITS_MEMBER(host) |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 int64_t /* service_worker_version_id */, | 930 int64_t /* service_worker_version_id */, |
927 std::string /* request_uuid */) | 931 std::string /* request_uuid */) |
928 | 932 |
929 // Asks the browser to decrement the pending activity count for | 933 // Asks the browser to decrement the pending activity count for |
930 // the worker with version id |service_worker_version_id|. | 934 // the worker with version id |service_worker_version_id|. |
931 // |request_uuid| must match the GUID of a previous request, otherwise the | 935 // |request_uuid| must match the GUID of a previous request, otherwise the |
932 // browser process ignores the IPC. | 936 // browser process ignores the IPC. |
933 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, | 937 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_DecrementServiceWorkerActivity, |
934 int64_t /* service_worker_version_id */, | 938 int64_t /* service_worker_version_id */, |
935 std::string /* request_uuid */) | 939 std::string /* request_uuid */) |
OLD | NEW |