Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Side by Side Diff: content/common/resource_messages.h

Issue 10829031: Add ResourceResponseHead members to IPC_STRUCT_TRAITS. Without this, missing member will not be sen… (Closed) Base URL: http://git.chromium.org/chromium/src.git@ResourceTiming
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "content/public/common/common_param_traits.h" 9 #include "content/public/common/common_param_traits.h"
10 #include "content/public/common/resource_response.h" 10 #include "content/public/common/resource_response.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 #include "net/base/upload_data.h" 12 #include "net/base/upload_data.h"
13 13
14 #define IPC_MESSAGE_START ResourceMsgStart 14 #define IPC_MESSAGE_START ResourceMsgStart
15 #undef IPC_MESSAGE_EXPORT 15 #undef IPC_MESSAGE_EXPORT
16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 16 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
17 17
18 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead) 18 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead)
19 IPC_STRUCT_TRAITS_PARENT(webkit_glue::ResourceResponseInfo) 19 IPC_STRUCT_TRAITS_PARENT(webkit_glue::ResourceResponseInfo)
20 IPC_STRUCT_TRAITS_MEMBER(status) 20 IPC_STRUCT_TRAITS_MEMBER(status)
21 IPC_STRUCT_TRAITS_MEMBER(request_start)
22 IPC_STRUCT_TRAITS_MEMBER(response_start)
21 IPC_STRUCT_TRAITS_END() 23 IPC_STRUCT_TRAITS_END()
22 24
23 IPC_STRUCT_TRAITS_BEGIN(content::SyncLoadResult) 25 IPC_STRUCT_TRAITS_BEGIN(content::SyncLoadResult)
24 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseHead) 26 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseHead)
25 IPC_STRUCT_TRAITS_MEMBER(final_url) 27 IPC_STRUCT_TRAITS_MEMBER(final_url)
26 IPC_STRUCT_TRAITS_MEMBER(data) 28 IPC_STRUCT_TRAITS_MEMBER(data)
27 IPC_STRUCT_TRAITS_END() 29 IPC_STRUCT_TRAITS_END()
28 30
29 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) 31 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo)
30 IPC_STRUCT_TRAITS_MEMBER(request_time) 32 IPC_STRUCT_TRAITS_MEMBER(request_time)
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 int /* request_id */) 211 int /* request_id */)
210 212
211 // Sent by the renderer process to acknowledge receipt of a 213 // Sent by the renderer process to acknowledge receipt of a
212 // UploadProgress message. 214 // UploadProgress message.
213 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, 215 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK,
214 int /* request_id */) 216 int /* request_id */)
215 217
216 // Sent when the renderer process deletes a resource loader. 218 // Sent when the renderer process deletes a resource loader.
217 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 219 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
218 int /* request_id */) 220 int /* request_id */)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698