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

Issue 2277143002: Use BytesConsumer in BodyStreamBuffer (Closed)

Created:
4 years, 3 months ago by yhirano
Modified:
4 years, 3 months ago
Reviewers:
hiroshige, haraken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, blink-reviews, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bytes-consumer-tee
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use BytesConsumer in BodyStreamBuffer This CL makes BodyStreamBuffer use BytesConsumer instead of FetchDataConsumerHandle. This CL also removed DataConsumerTee which is replaced by BytesConsumer::tee. BUG=610195 Committed: https://crrev.com/21fc237b7c8bab86b12fd64453b4fa35a08cd621 Cr-Commit-Position: refs/heads/master@{#418284}

Patch Set 1 : fix #

Patch Set 2 : rebase #

Patch Set 3 : fix #

Total comments: 4

Patch Set 4 : fix #

Patch Set 5 : rebase #

Patch Set 6 : fix #

Total comments: 2

Patch Set 7 : fix #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -994 lines) Patch
M third_party/WebKit/Source/modules/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.h View 1 2 3 4 5 6 6 chunks +12 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp View 1 2 3 4 5 6 14 chunks +60 lines, -61 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp View 1 2 3 4 5 6 7 7 chunks +12 lines, -35 lines 0 comments Download
D third_party/WebKit/Source/modules/fetch/DataConsumerTee.h View 1 chunk +0 lines, -28 lines 0 comments Download
D third_party/WebKit/Source/modules/fetch/DataConsumerTee.cpp View 1 1 chunk +0 lines, -439 lines 0 comments Download
D third_party/WebKit/Source/modules/fetch/DataConsumerTeeTest.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -418 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/RespondWithObserver.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 67 (57 generated)
yhirano
4 years, 3 months ago (2016-08-30 06:05:19 UTC) #25
hiroshige
https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp#newcode355 third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:355: m_consumer->endRead(available); We have to check the return value of ...
4 years, 3 months ago (2016-09-07 09:25:54 UTC) #34
yhirano
https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/100001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp#newcode355 third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:355: m_consumer->endRead(available); On 2016/09/07 09:25:54, hiroshige wrote: > We have ...
4 years, 3 months ago (2016-09-08 01:41:05 UTC) #37
hiroshige
lgtm https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp#newcode240 third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:240: if (m_consumer) optional: splitting these three lines into ...
4 years, 3 months ago (2016-09-08 05:36:38 UTC) #48
yhirano
https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp File third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp (right): https://codereview.chromium.org/2277143002/diff/160001/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp#newcode240 third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp:240: if (m_consumer) On 2016/09/08 05:36:38, hiroshige wrote: > optional: ...
4 years, 3 months ago (2016-09-08 05:50:39 UTC) #51
yhirano
+haraken@ for the modules/BUILD.gn change.
4 years, 3 months ago (2016-09-13 07:52:38 UTC) #59
haraken
LGTM
4 years, 3 months ago (2016-09-13 07:59:34 UTC) #60
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/2277143002/200001
4 years, 3 months ago (2016-09-13 15:58:13 UTC) #63
commit-bot: I haz the power
Committed patchset #8 (id:200001)
4 years, 3 months ago (2016-09-13 17:28:18 UTC) #65
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 17:30:58 UTC) #67
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/21fc237b7c8bab86b12fd64453b4fa35a08cd621
Cr-Commit-Position: refs/heads/master@{#418284}

Powered by Google App Engine
This is Rietveld 408576698