| Index: content/common/resource_messages.h
|
| diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
|
| index 9d4e1bac5d31013457ac3a1d9b4a33b52fbbabbf..b1c77c21207b21baf6d957c0ea0efa971bda375f 100644
|
| --- a/content/common/resource_messages.h
|
| +++ b/content/common/resource_messages.h
|
| @@ -16,6 +16,7 @@
|
| #include "ipc/ipc_message_macros.h"
|
| #include "net/base/request_priority.h"
|
| #include "net/http/http_response_info.h"
|
| +#include "net/url_request/redirect_info.h"
|
|
|
| #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_
|
| #define CONTENT_COMMON_RESOURCE_MESSAGES_H_
|
| @@ -119,6 +120,14 @@ IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseInfo)
|
| IPC_STRUCT_TRAITS_MEMBER(socket_address)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo)
|
| + IPC_STRUCT_TRAITS_MEMBER(status_code)
|
| + IPC_STRUCT_TRAITS_MEMBER(method)
|
| + IPC_STRUCT_TRAITS_MEMBER(url)
|
| + IPC_STRUCT_TRAITS_MEMBER(first_party_for_cookies)
|
| + IPC_STRUCT_TRAITS_MEMBER(referrer)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| // Parameters for a resource request.
|
| IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
|
| // The request method: GET, POST, etc.
|
| @@ -255,10 +264,9 @@ IPC_MESSAGE_CONTROL3(ResourceMsg_UploadProgress,
|
| // Sent when the request has been redirected. The receiver is expected to
|
| // respond with either a FollowRedirect message (if the redirect is to be
|
| // followed) or a CancelRequest message (if it should not be followed).
|
| -IPC_MESSAGE_CONTROL4(ResourceMsg_ReceivedRedirect,
|
| +IPC_MESSAGE_CONTROL3(ResourceMsg_ReceivedRedirect,
|
| int /* request_id */,
|
| - GURL /* new_url */,
|
| - GURL /* new_first_party_for_cookies */,
|
| + net::RedirectInfo /* redirect_info */,
|
| content::ResourceResponseHead)
|
|
|
| // Sent to set the shared memory buffer to be used to transmit response data to
|
|
|