| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 resource loading. | 5 // IPC messages for resource loading. |
| 6 // | 6 // |
| 7 // NOTE: All messages must send an |int request_id| as their first parameter. | 7 // NOTE: All messages must send an |int request_id| as their first parameter. |
| 8 | 8 |
| 9 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
| 10 | 10 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 123 |
| 124 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRequestMode, | 124 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRequestMode, |
| 125 content::FETCH_REQUEST_MODE_LAST) | 125 content::FETCH_REQUEST_MODE_LAST) |
| 126 | 126 |
| 127 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchCredentialsMode, | 127 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchCredentialsMode, |
| 128 content::FETCH_CREDENTIALS_MODE_LAST) | 128 content::FETCH_CREDENTIALS_MODE_LAST) |
| 129 | 129 |
| 130 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRedirectMode, | 130 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRedirectMode, |
| 131 content::FetchRedirectMode::LAST) | 131 content::FetchRedirectMode::LAST) |
| 132 | 132 |
| 133 IPC_ENUM_TRAITS_MAX_VALUE(content::SkipServiceWorker, | 133 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerMode, |
| 134 content::SkipServiceWorker::LAST) | 134 content::ServiceWorkerMode::LAST) |
| 135 | 135 |
| 136 IPC_ENUM_TRAITS_MAX_VALUE(net::EffectiveConnectionType, | 136 IPC_ENUM_TRAITS_MAX_VALUE(net::EffectiveConnectionType, |
| 137 net::EFFECTIVE_CONNECTION_TYPE_LAST - 1) | 137 net::EFFECTIVE_CONNECTION_TYPE_LAST - 1) |
| 138 | 138 |
| 139 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMixedContentContextType, | 139 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMixedContentContextType, |
| 140 blink::WebMixedContentContextType::Last) | 140 blink::WebMixedContentContextType::Last) |
| 141 | 141 |
| 142 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead) | 142 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead) |
| 143 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo) | 143 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo) |
| 144 IPC_STRUCT_TRAITS_MEMBER(request_start) | 144 IPC_STRUCT_TRAITS_MEMBER(request_start) |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 IPC_STRUCT_TRAITS_MEMBER(headers) | 223 IPC_STRUCT_TRAITS_MEMBER(headers) |
| 224 IPC_STRUCT_TRAITS_MEMBER(load_flags) | 224 IPC_STRUCT_TRAITS_MEMBER(load_flags) |
| 225 IPC_STRUCT_TRAITS_MEMBER(origin_pid) | 225 IPC_STRUCT_TRAITS_MEMBER(origin_pid) |
| 226 IPC_STRUCT_TRAITS_MEMBER(resource_type) | 226 IPC_STRUCT_TRAITS_MEMBER(resource_type) |
| 227 IPC_STRUCT_TRAITS_MEMBER(priority) | 227 IPC_STRUCT_TRAITS_MEMBER(priority) |
| 228 IPC_STRUCT_TRAITS_MEMBER(request_context) | 228 IPC_STRUCT_TRAITS_MEMBER(request_context) |
| 229 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) | 229 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) |
| 230 IPC_STRUCT_TRAITS_MEMBER(should_reset_appcache) | 230 IPC_STRUCT_TRAITS_MEMBER(should_reset_appcache) |
| 231 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) | 231 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) |
| 232 IPC_STRUCT_TRAITS_MEMBER(originated_from_service_worker) | 232 IPC_STRUCT_TRAITS_MEMBER(originated_from_service_worker) |
| 233 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) | 233 IPC_STRUCT_TRAITS_MEMBER(service_worker_mode) |
| 234 IPC_STRUCT_TRAITS_MEMBER(fetch_request_mode) | 234 IPC_STRUCT_TRAITS_MEMBER(fetch_request_mode) |
| 235 IPC_STRUCT_TRAITS_MEMBER(fetch_credentials_mode) | 235 IPC_STRUCT_TRAITS_MEMBER(fetch_credentials_mode) |
| 236 IPC_STRUCT_TRAITS_MEMBER(fetch_redirect_mode) | 236 IPC_STRUCT_TRAITS_MEMBER(fetch_redirect_mode) |
| 237 IPC_STRUCT_TRAITS_MEMBER(fetch_request_context_type) | 237 IPC_STRUCT_TRAITS_MEMBER(fetch_request_context_type) |
| 238 IPC_STRUCT_TRAITS_MEMBER(fetch_mixed_content_context_type) | 238 IPC_STRUCT_TRAITS_MEMBER(fetch_mixed_content_context_type) |
| 239 IPC_STRUCT_TRAITS_MEMBER(fetch_frame_type) | 239 IPC_STRUCT_TRAITS_MEMBER(fetch_frame_type) |
| 240 IPC_STRUCT_TRAITS_MEMBER(request_body) | 240 IPC_STRUCT_TRAITS_MEMBER(request_body) |
| 241 IPC_STRUCT_TRAITS_MEMBER(download_to_file) | 241 IPC_STRUCT_TRAITS_MEMBER(download_to_file) |
| 242 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 242 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 243 IPC_STRUCT_TRAITS_MEMBER(enable_load_timing) | 243 IPC_STRUCT_TRAITS_MEMBER(enable_load_timing) |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 377 |
| 378 // Sent when the renderer process deletes a resource loader. | 378 // Sent when the renderer process deletes a resource loader. |
| 379 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 379 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
| 380 int /* request_id */) | 380 int /* request_id */) |
| 381 | 381 |
| 382 // Sent by the renderer when a resource request changes priority. | 382 // Sent by the renderer when a resource request changes priority. |
| 383 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 383 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
| 384 int /* request_id */, | 384 int /* request_id */, |
| 385 net::RequestPriority, | 385 net::RequestPriority, |
| 386 int /* intra_priority_value */) | 386 int /* intra_priority_value */) |
| OLD | NEW |