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

Issue 2519893002: Stop dispatching encoded-data-length on each data chunk arrival (Closed)

Created:
4 years, 1 month ago by yhirano
Modified:
4 years ago
CC:
chromium-reviews, tyoshino+watch_chromium.org, Yoav Weiss, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, caseq+blink_chromium.org, apavlov+blink_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin, loading-reviews_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop dispatching encoded-data-length on each data chunk arrival With this CL, blink stops dispatching encoded-data-length to the inspector in FrameFetchContext::dispatchDidReceiveData. Instead, it dispatches encoded-data-length separately. This is needed to use mojo data pipe for transferring the response body. https://docs.google.com/document/d/1Q-LpTPcV8QApeXSL24MVZHjP-uQK7RAK300t_qZaGFQ/edit# BUG=666217 Committed: https://crrev.com/8d02be17b54b90ab3e139b7a958edb34bc706106 Cr-Commit-Position: refs/heads/master@{#437147}

Patch Set 1 : fix #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : fix #

Patch Set 4 : fix #

Patch Set 5 : fix #

Patch Set 6 : fix #

Patch Set 7 : PS5 again #

Total comments: 8

Patch Set 8 : fix #

Patch Set 9 : fix #

Total comments: 3

Patch Set 10 : fix #

Patch Set 11 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -25 lines) Patch
M third_party/WebKit/Source/core/fetch/FetchContext.h View 1 2 6 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FetchContext.cpp View 1 2 6 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp View 1 2 3 4 5 6 7 8 4 chunks +21 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/NetworkResourcesData.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/NetworkResourcesData.cpp View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.h View 1 2 6 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +15 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 89 (72 generated)
yhirano
Hi, can you take a look? I changed one test due to the field removal ...
4 years, 1 month ago (2016-11-22 06:26:36 UTC) #17
dgozman
https://codereview.chromium.org/2519893002/diff/40001/third_party/WebKit/Source/core/fetch/FetchContext.h File third_party/WebKit/Source/core/fetch/FetchContext.h (right): https://codereview.chromium.org/2519893002/diff/40001/third_party/WebKit/Source/core/fetch/FetchContext.h#newcode113 third_party/WebKit/Source/core/fetch/FetchContext.h:113: int64_t encodedDataLength, I like this one! https://codereview.chromium.org/2519893002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp ...
4 years ago (2016-11-22 17:54:13 UTC) #18
yhirano
https://codereview.chromium.org/2519893002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp (right): https://codereview.chromium.org/2519893002/diff/40001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp#newcode753 third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp:753: 0); On 2016/11/22 17:54:13, dgozman wrote: > This is ...
4 years ago (2016-11-29 13:55:06 UTC) #31
yhirano
+kouhei@ fyi
4 years ago (2016-11-30 04:21:50 UTC) #34
yhirano
+kouhei@ fyi
4 years ago (2016-11-30 04:21:50 UTC) #35
dgozman
https://codereview.chromium.org/2519893002/diff/160001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/2519893002/diff/160001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp#newcode1281 third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp:1281: context().dispatchDidReceiveData(identifier, data, dataLength); dispatchDidReceiveEncodedData here as well? https://codereview.chromium.org/2519893002/diff/160001/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl File ...
4 years ago (2016-11-30 18:02:17 UTC) #46
yhirano
https://codereview.chromium.org/2519893002/diff/160001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/2519893002/diff/160001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp#newcode1281 third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp:1281: context().dispatchDidReceiveData(identifier, data, dataLength); On 2016/11/30 18:02:17, dgozman wrote: > ...
4 years ago (2016-12-01 10:33:10 UTC) #57
yhirano
I updated core/inspector/ implementation based on the offline discussion. PTAL.
4 years ago (2016-12-06 06:10:18 UTC) #64
dgozman
lgtm. Thanks! https://codereview.chromium.org/2519893002/diff/220001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp (right): https://codereview.chromium.org/2519893002/diff/220001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp#newcode775 third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp:775: frontend()->dataReceived(requestId, monotonicallyIncreasingTime(), 0, This is unfortunate, but ...
4 years ago (2016-12-06 18:29:31 UTC) #65
hiroshige
On 2016/12/06 18:29:31, dgozman wrote: > lgtm. Thanks! > > https://codereview.chromium.org/2519893002/diff/220001/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp > File third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp (right): ...
4 years ago (2016-12-07 06:09:36 UTC) #66
yhirano
https://codereview.chromium.org/2519893002/diff/220001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp File third_party/WebKit/Source/core/loader/FrameFetchContext.cpp (right): https://codereview.chromium.org/2519893002/diff/220001/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp#newcode417 third_party/WebKit/Source/core/loader/FrameFetchContext.cpp:417: TRACE_EVENT1("devtools.timeline", "ResourceReceivedData", "data", On 2016/12/06 18:29:31, dgozman wrote: > ...
4 years ago (2016-12-07 12:00:16 UTC) #69
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/2519893002/240001
4 years ago (2016-12-07 12:00:54 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/351509)
4 years ago (2016-12-07 13:15:48 UTC) #75
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/2519893002/260001
4 years ago (2016-12-08 01:51:48 UTC) #82
commit-bot: I haz the power
Committed patchset #11 (id:260001)
4 years ago (2016-12-08 02:17:18 UTC) #85
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/8d02be17b54b90ab3e139b7a958edb34bc706106 Cr-Commit-Position: refs/heads/master@{#437147}
4 years ago (2016-12-08 02:20:06 UTC) #87
yhirano
4 years ago (2016-12-08 02:27:51 UTC) #89
Message was sent while issue was closed.
(I specified a wrong bug number, so fixed it here after the CL is landed.)

Powered by Google App Engine
This is Rietveld 408576698