| Index: content/common/resource_messages.h
|
| diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
|
| index 85aa03596b07fb61c4f339f06d5b7be5389cc7bf..30c788bb303b18f8f6b85011b5d45657c800131b 100644
|
| --- a/content/common/resource_messages.h
|
| +++ b/content/common/resource_messages.h
|
| @@ -109,9 +109,11 @@ IPC_STRUCT_END()
|
| // Resource messages sent from the browser to the renderer.
|
|
|
| // Sent when the headers are available for a resource request.
|
| -IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedResponse,
|
| +IPC_MESSAGE_ROUTED4(ResourceMsg_ReceivedResponse,
|
| int /* request_id */,
|
| - ResourceResponseHead)
|
| + ResourceResponseHead,
|
| + base::TimeTicks /* start_time */,
|
| + base::TimeTicks /* end_time */)
|
|
|
| // Sent when cached metadata from a resource request is ready.
|
| IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedCachedMetadata,
|
| @@ -127,10 +129,12 @@ IPC_MESSAGE_ROUTED3(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_ROUTED3(ResourceMsg_ReceivedRedirect,
|
| +IPC_MESSAGE_ROUTED5(ResourceMsg_ReceivedRedirect,
|
| int /* request_id */,
|
| GURL /* new_url */,
|
| - ResourceResponseHead)
|
| + ResourceResponseHead,
|
| + base::TimeTicks /* start_time */,
|
| + base::TimeTicks /* end_time */)
|
|
|
| // Sent when some data from a resource request is ready. The handle should
|
| // already be mapped into the process that receives this message.
|
| @@ -152,7 +156,7 @@ IPC_MESSAGE_ROUTED4(ResourceMsg_RequestComplete,
|
| int /* request_id */,
|
| net::URLRequestStatus /* status */,
|
| std::string /* security info */,
|
| - base::Time /* completion_time */)
|
| + base::TimeTicks /* completion_time */)
|
|
|
| // Resource messages sent from the renderer to the browser.
|
|
|
|
|