| 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 |
| 11 #include <stdint.h> | 11 #include <stdint.h> |
| 12 | 12 |
| 13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
| 14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
| 15 #include "content/common/content_param_traits_macros.h" | 15 #include "content/common/content_param_traits_macros.h" |
| 16 #include "content/common/navigation_params.h" | 16 #include "content/common/navigation_params.h" |
| 17 #include "content/common/resource_request.h" | 17 #include "content/common/resource_request.h" |
| 18 #include "content/common/resource_request_body_impl.h" | 18 #include "content/common/resource_request_body_impl.h" |
| 19 #include "content/common/resource_request_completion_status.h" | 19 #include "content/common/resource_request_completion_status.h" |
| 20 #include "content/common/service_worker/service_worker_types.h" | 20 #include "content/common/service_worker/service_worker_types.h" |
| 21 #include "content/public/common/common_param_traits.h" | 21 #include "content/public/common/common_param_traits.h" |
| 22 #include "content/public/common/resource_response.h" | 22 #include "content/public/common/resource_response.h" |
| 23 #include "ipc/ipc_message_macros.h" | 23 #include "ipc/ipc_message_macros.h" |
| 24 #include "net/base/request_priority.h" | 24 #include "net/base/request_priority.h" |
| 25 #include "net/cert/signed_certificate_timestamp.h" | 25 #include "net/cert/signed_certificate_timestamp.h" |
| 26 #include "net/cert/signed_certificate_timestamp_and_status.h" |
| 26 #include "net/http/http_response_info.h" | 27 #include "net/http/http_response_info.h" |
| 27 #include "net/nqe/effective_connection_type.h" | 28 #include "net/nqe/effective_connection_type.h" |
| 28 #include "net/ssl/signed_certificate_timestamp_and_status.h" | |
| 29 #include "net/url_request/redirect_info.h" | 29 #include "net/url_request/redirect_info.h" |
| 30 | 30 |
| 31 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_ | 31 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_ |
| 32 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_ | 32 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_ |
| 33 | 33 |
| 34 namespace net { | 34 namespace net { |
| 35 struct LoadTimingInfo; | 35 struct LoadTimingInfo; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace content { | 38 namespace content { |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 | 375 |
| 376 // Sent when the renderer process deletes a resource loader. | 376 // Sent when the renderer process deletes a resource loader. |
| 377 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 377 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
| 378 int /* request_id */) | 378 int /* request_id */) |
| 379 | 379 |
| 380 // Sent by the renderer when a resource request changes priority. | 380 // Sent by the renderer when a resource request changes priority. |
| 381 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, | 381 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, |
| 382 int /* request_id */, | 382 int /* request_id */, |
| 383 net::RequestPriority, | 383 net::RequestPriority, |
| 384 int /* intra_priority_value */) | 384 int /* intra_priority_value */) |
| OLD | NEW |