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

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

Issue 2514713002: Send encoded_body_length to renderer when response completed (1/3) (Closed)
Patch Set: fix Created 4 years 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only) 253 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only)
254 IPC_STRUCT_TRAITS_END() 254 IPC_STRUCT_TRAITS_END()
255 255
256 // Parameters for a ResourceMsg_RequestComplete 256 // Parameters for a ResourceMsg_RequestComplete
257 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) 257 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus)
258 IPC_STRUCT_TRAITS_MEMBER(error_code) 258 IPC_STRUCT_TRAITS_MEMBER(error_code)
259 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) 259 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler)
260 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) 260 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache)
261 IPC_STRUCT_TRAITS_MEMBER(completion_time) 261 IPC_STRUCT_TRAITS_MEMBER(completion_time)
262 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) 262 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length)
263 IPC_STRUCT_TRAITS_MEMBER(encoded_body_length)
263 IPC_STRUCT_TRAITS_END() 264 IPC_STRUCT_TRAITS_END()
264 265
265 // Resource messages sent from the browser to the renderer. 266 // Resource messages sent from the browser to the renderer.
266 267
267 // Sent when the headers are available for a resource request. 268 // Sent when the headers are available for a resource request.
268 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse, 269 IPC_MESSAGE_CONTROL2(ResourceMsg_ReceivedResponse,
269 int /* request_id */, 270 int /* request_id */,
270 content::ResourceResponseHead) 271 content::ResourceResponseHead)
271 272
272 // Sent when cached metadata from a resource request is ready. 273 // Sent when cached metadata from a resource request is ready.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 373
373 // Sent when the renderer process deletes a resource loader. 374 // Sent when the renderer process deletes a resource loader.
374 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 375 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
375 int /* request_id */) 376 int /* request_id */)
376 377
377 // Sent by the renderer when a resource request changes priority. 378 // Sent by the renderer when a resource request changes priority.
378 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 379 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
379 int /* request_id */, 380 int /* request_id */,
380 net::RequestPriority, 381 net::RequestPriority,
381 int /* intra_priority_value */) 382 int /* intra_priority_value */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698