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 #include "base/memory/shared_memory.h" |
10 #include "base/process.h" | 11 #include "base/process.h" |
11 #include "base/shared_memory.h" | |
12 #include "content/common/content_param_traits_macros.h" | 12 #include "content/common/content_param_traits_macros.h" |
13 #include "content/public/common/common_param_traits.h" | 13 #include "content/public/common/common_param_traits.h" |
14 #include "content/public/common/resource_response.h" | 14 #include "content/public/common/resource_response.h" |
15 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
16 #include "net/base/request_priority.h" | 16 #include "net/base/request_priority.h" |
17 #include "net/http/http_response_info.h" | 17 #include "net/http/http_response_info.h" |
18 #include "webkit/common/resource_request_body.h" | 18 #include "webkit/common/resource_request_body.h" |
19 | 19 |
20 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_ | 20 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_ |
21 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_ | 21 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_ |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 int /* request_id */) | 306 int /* request_id */) |
307 | 307 |
308 // Sent when the renderer process deletes a resource loader. | 308 // Sent when the renderer process deletes a resource loader. |
309 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, | 309 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, |
310 int /* request_id */) | 310 int /* request_id */) |
311 | 311 |
312 // Sent by the renderer when a resource request changes priority. | 312 // Sent by the renderer when a resource request changes priority. |
313 IPC_MESSAGE_ROUTED2(ResourceHostMsg_DidChangePriority, | 313 IPC_MESSAGE_ROUTED2(ResourceHostMsg_DidChangePriority, |
314 int /* request_id */, | 314 int /* request_id */, |
315 net::RequestPriority) | 315 net::RequestPriority) |
OLD | NEW |