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

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

Issue 2835123005: Send the decoded size when response completed and stop summing in ResourceLoader::DidReceiveData() (Closed)
Patch Set: Created 3 years, 8 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
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 // NOTE: All messages must send an |int request_id| as their first parameter. 7 // NOTE: All messages must send an |int request_id| as their first parameter.
8 8
9 // Multiply-included message file, hence no include guard. 9 // Multiply-included message file, hence no include guard.
10 10
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 IPC_STRUCT_TRAITS_END() 297 IPC_STRUCT_TRAITS_END()
298 298
299 // Parameters for a ResourceMsg_RequestComplete 299 // Parameters for a ResourceMsg_RequestComplete
300 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) 300 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus)
301 IPC_STRUCT_TRAITS_MEMBER(error_code) 301 IPC_STRUCT_TRAITS_MEMBER(error_code)
302 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) 302 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler)
303 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) 303 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache)
304 IPC_STRUCT_TRAITS_MEMBER(completion_time) 304 IPC_STRUCT_TRAITS_MEMBER(completion_time)
305 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) 305 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length)
306 IPC_STRUCT_TRAITS_MEMBER(encoded_body_length) 306 IPC_STRUCT_TRAITS_MEMBER(encoded_body_length)
307 IPC_STRUCT_TRAITS_MEMBER(decoded_body_length)
307 IPC_STRUCT_TRAITS_END() 308 IPC_STRUCT_TRAITS_END()
308 309
309 // Resource messages sent from the browser to the renderer. 310 // Resource messages sent from the browser to the renderer.
310 311
311 // Sent when the headers are available for a resource request. 312 // Sent when the headers are available for a resource request.
312 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse, 313 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse,
313 int /* request_id */, 314 int /* request_id */,
314 content::ResourceResponseHead) 315 content::ResourceResponseHead)
315 316
316 // Sent when cached metadata from a resource request is ready. 317 // Sent when cached metadata from a resource request is ready.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 407
407 // Sent when the renderer process deletes a resource loader. 408 // Sent when the renderer process deletes a resource loader.
408 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 409 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
409 int /* request_id */) 410 int /* request_id */)
410 411
411 // Sent by the renderer when a resource request changes priority. 412 // Sent by the renderer when a resource request changes priority.
412 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 413 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
413 int /* request_id */, 414 int /* request_id */,
414 net::RequestPriority, 415 net::RequestPriority,
415 int /* intra_priority_value */) 416 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl_unittest.cc ('k') | content/common/resource_request_completion_status.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698