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

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

Issue 7602023: Use a monotonic clock (TimeTicks) to report network times to WebCore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comment Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common/resource_response.h" 9 #include "content/common/resource_response.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // ResourceMsg_DataReceived in the call sequence in that case. 140 // ResourceMsg_DataReceived in the call sequence in that case.
141 IPC_MESSAGE_ROUTED2(ResourceMsg_DataDownloaded, 141 IPC_MESSAGE_ROUTED2(ResourceMsg_DataDownloaded,
142 int /* request_id */, 142 int /* request_id */,
143 int /* data_len */) 143 int /* data_len */)
144 144
145 // Sent when the request has been completed. 145 // Sent when the request has been completed.
146 IPC_MESSAGE_ROUTED4(ResourceMsg_RequestComplete, 146 IPC_MESSAGE_ROUTED4(ResourceMsg_RequestComplete,
147 int /* request_id */, 147 int /* request_id */,
148 net::URLRequestStatus /* status */, 148 net::URLRequestStatus /* status */,
149 std::string /* security info */, 149 std::string /* security info */,
150 base::Time /* completion_time */) 150 base::TimeTicks /* completion_time */)
darin (slow to review) 2011/08/29 23:42:56 Are you sure it makes sense to send TimeTicks over
James Simonsen 2011/08/30 00:09:31 Yep. This has been a popular question in this code
151 151
152 // Resource messages sent from the renderer to the browser. 152 // Resource messages sent from the renderer to the browser.
153 153
154 // Makes a resource request via the browser. 154 // Makes a resource request via the browser.
155 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource, 155 IPC_MESSAGE_ROUTED2(ResourceHostMsg_RequestResource,
156 int /* request_id */, 156 int /* request_id */,
157 ResourceHostMsg_Request) 157 ResourceHostMsg_Request)
158 158
159 // Cancels a resource request with the ID given as the parameter. 159 // Cancels a resource request with the ID given as the parameter.
160 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest, 160 IPC_MESSAGE_ROUTED1(ResourceHostMsg_CancelRequest,
(...skipping 29 matching lines...) Expand all
190 int /* request_id */) 190 int /* request_id */)
191 191
192 // Sent by the renderer process to acknowledge receipt of a 192 // Sent by the renderer process to acknowledge receipt of a
193 // UploadProgress message. 193 // UploadProgress message.
194 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, 194 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK,
195 int /* request_id */) 195 int /* request_id */)
196 196
197 // Sent when the renderer process deletes a resource loader. 197 // Sent when the renderer process deletes a resource loader.
198 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 198 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
199 int /* request_id */) 199 int /* request_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698