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

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

Created:
4 years, 1 month ago by yhirano
Modified:
4 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, loading-reviews_chromium.org, darin (slow to review), mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send encoded_body_length to renderer when response completed (1/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 adds "encoded_body_length" property to ResourceRequestCompletionStatus. This CL doesn't change the behavior. BUG=666216 Committed: https://crrev.com/1033246a67ce26d0150242a071e61330be318433 Cr-Commit-Position: refs/heads/master@{#434032} CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Committed: https://crrev.com/efb9d78772531d0de6900f1f1a213f5cb8b5ebab Cr-Commit-Position: refs/heads/master@{#434624}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Total comments: 4

Patch Set 4 : fix #

Patch Set 5 : merge https://codereview.chromium.org/2526653002/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -10 lines) Patch
M components/cronet/android/test/javatests/src/org/chromium/net/CronetUrlRequestTest.java View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/loader/async_resource_handler.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/loader/async_resource_handler_unittest.cc View 1 6 chunks +43 lines, -7 lines 0 comments Download
M content/browser/loader/mojo_async_resource_handler.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/loader/url_loader_factory_impl_unittest.cc View 3 chunks +34 lines, -0 lines 0 comments Download
M content/common/resource_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/resource_request_completion_status.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M net/test/url_request/url_request_failed_job.h View 2 chunks +2 lines, -0 lines 0 comments Download
M net/test/url_request/url_request_failed_job.cc View 3 chunks +8 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 69 (45 generated)
yhirano
+rdsmith@ for net/test and content/browser/loader. +ricea@, tzik@ for the overall change.
4 years, 1 month ago (2016-11-18 09:21:24 UTC) #14
Randy Smith (Not in Mondays)
A couple of questions: * Could you give pointers to the other CLs in this ...
4 years, 1 month ago (2016-11-18 20:57:45 UTC) #15
yhirano
> * Could you give pointers to the other CLs in this series so that ...
4 years, 1 month ago (2016-11-21 03:53:18 UTC) #19
Adam Rice
lgtm with nits. Bonus nitpick: The title of the CL could be clearer. How about ...
4 years, 1 month ago (2016-11-21 04:26:48 UTC) #20
yhirano
> Bonus nitpick: The title of the CL could be clearer. How about "Send > ...
4 years, 1 month ago (2016-11-21 06:40:27 UTC) #26
Adam Rice
Could you link directly to the design doc from the description? It would save people ...
4 years, 1 month ago (2016-11-21 09:49:18 UTC) #29
yhirano
On 2016/11/21 09:49:18, Adam Rice wrote: > Could you link directly to the design doc ...
4 years, 1 month ago (2016-11-21 12:04:31 UTC) #31
kinuko
lgtm (once Randy's happy)
4 years, 1 month ago (2016-11-21 12:46:52 UTC) #32
tzik
lgtm
4 years, 1 month ago (2016-11-22 05:38:16 UTC) #33
yhirano
+tsepez@ for content/common/resource_messages.h
4 years, 1 month ago (2016-11-22 06:05:52 UTC) #35
yhirano
(I'm still waiting for rdsmith@'s feedback, in case it's not clear.)
4 years, 1 month ago (2016-11-22 06:06:20 UTC) #36
Randy Smith (Not in Mondays)
On 2016/11/21 03:53:18, yhirano OOO till 11-28 wrote: > > * Could you give pointers ...
4 years, 1 month ago (2016-11-22 16:02:13 UTC) #37
Tom Sepez
RS LGTM, browser to renderer message.
4 years, 1 month ago (2016-11-22 17:06:30 UTC) #38
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/2514713002/60001
4 years, 1 month ago (2016-11-22 21:40:36 UTC) #41
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-22 23:59:39 UTC) #44
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/1033246a67ce26d0150242a071e61330be318433 Cr-Commit-Position: refs/heads/master@{#434032}
4 years, 1 month ago (2016-11-23 00:03:14 UTC) #46
Maria
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2515383004/ by mariakhomenko@chromium.org. ...
4 years, 1 month ago (2016-11-23 01:04:22 UTC) #47
pauljensen
Feel free to reland this change once you incorporate https://codereview.chromium.org/2526653002/, I'll review it once you've ...
4 years, 1 month ago (2016-11-23 01:56:00 UTC) #48
yhirano
reopening...
4 years ago (2016-11-28 02:06:42 UTC) #50
yhirano
Thanks, pauljensen@. Can you take a look at PS5?
4 years ago (2016-11-28 06:48:28 UTC) #58
pauljensen
components/cronet/ lgtm
4 years ago (2016-11-28 09:20:10 UTC) #61
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/2514713002/80001
4 years ago (2016-11-28 09:25:16 UTC) #64
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-11-28 09:29:32 UTC) #67
commit-bot: I haz the power
4 years ago (2016-11-28 09:30:55 UTC) #69
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/efb9d78772531d0de6900f1f1a213f5cb8b5ebab
Cr-Commit-Position: refs/heads/master@{#434624}

Powered by Google App Engine
This is Rietveld 408576698