| Index: content/common/resource_messages.h
|
| diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
|
| index d4a7d976ca5a5b45d5ebbdec571e85db015a11b9..dc6147a96d2eebea75f42f863e3c4d055f708f27 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_
|
| @@ -121,6 +122,14 @@ IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseInfo)
|
| IPC_STRUCT_TRAITS_MEMBER(original_url_via_service_worker)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo)
|
| + IPC_STRUCT_TRAITS_MEMBER(status_code)
|
| + IPC_STRUCT_TRAITS_MEMBER(new_method)
|
| + IPC_STRUCT_TRAITS_MEMBER(new_url)
|
| + IPC_STRUCT_TRAITS_MEMBER(new_first_party_for_cookies)
|
| + IPC_STRUCT_TRAITS_MEMBER(new_referrer)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| // Parameters for a resource request.
|
| IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
|
| // The request method: GET, POST, etc.
|
| @@ -260,10 +269,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
|
|
|