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

Issue 2506363005: Send encoded_body_length to renderer when response completed (3/3) (Closed)

Created:
4 years, 1 month ago by yhirano
Modified:
4 years ago
CC:
chromium-reviews, loading-reviews_chromium.org, jam, darin-cc_chromium.org, Randy Smith (Not in Mondays), mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send encoded_body_length to renderer when response completed (3/3) Currently, "encoded_body_length" is dispatched on each ResourceMsg_DataReceived IPC message. With this series of CLs, it will be dispatched when a resource loading is completed. This is needed to use mojo data pipe for transferring the response body. - 1/3: https://codereview.chromium.org/2514713002/ - 2/3: https://codereview.chromium.org/2510333002/ - 3/3: https://codereview.chromium.org/2506363005/ Design doc: https://docs.google.com/document/d/1Q-LpTPcV8QApeXSL24MVZHjP-uQK7RAK300t_qZaGFQ/edit# This CL drops encoded_body_length field from ResourceMsg_DataReceived and ResourceMsg_InlinedDataChunkReceived. This CL doesn't change the behavior. BUG=666216 Committed: https://crrev.com/ce1c7996be64c3af7243256c5032f11aef6fe7cd Cr-Commit-Position: refs/heads/master@{#434684}

Patch Set 1 : fix #

Total comments: 1

Patch Set 2 : fix #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -48 lines) Patch
M content/browser/loader/async_resource_handler.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/loader/async_resource_handler.cc View 1 7 chunks +8 lines, -23 lines 0 comments Download
M content/browser/loader/async_resource_handler_unittest.cc View 3 chunks +0 lines, -8 lines 0 comments Download
M content/child/resource_dispatcher.h View 1 chunk +2 lines, -4 lines 0 comments Download
M content/child/resource_dispatcher.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/resource_messages.h View 1 chunk +4 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (37 generated)
yhirano
4 years, 1 month ago (2016-11-18 09:21:35 UTC) #17
Adam Rice
lgtm https://codereview.chromium.org/2506363005/diff/40001/content/browser/loader/async_resource_handler.cc File content/browser/loader/async_resource_handler.cc (right): https://codereview.chromium.org/2506363005/diff/40001/content/browser/loader/async_resource_handler.cc#newcode558 content/browser/loader/async_resource_handler.cc:558: return TrackDifference(request()->GetTotalReceivedBytes(), Optional: this is now the only ...
4 years, 1 month ago (2016-11-21 09:46:41 UTC) #20
kinuko
lgtm/2
4 years, 1 month ago (2016-11-21 12:52:23 UTC) #24
tzik
lgtm
4 years, 1 month ago (2016-11-22 05:54:49 UTC) #27
yhirano
+tsepez@ for content/common/resource_messages.h.
4 years, 1 month ago (2016-11-22 06:01:39 UTC) #29
Tom Sepez
RS LGTM, message is to renderer from a more trusted source.
4 years, 1 month ago (2016-11-22 16:51:11 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2506363005/80001
4 years ago (2016-11-28 17:55:09 UTC) #41
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years ago (2016-11-28 17:59:10 UTC) #44
commit-bot: I haz the power
4 years ago (2016-11-28 18:03:21 UTC) #46
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ce1c7996be64c3af7243256c5032f11aef6fe7cd
Cr-Commit-Position: refs/heads/master@{#434684}

Powered by Google App Engine
This is Rietveld 408576698