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

Issue 2365853002: Implement ReadableStreamBytesConsumer (Closed)

Created:
4 years, 3 months ago by yhirano
Modified:
4 years, 2 months ago
Reviewers:
hiroshige, haraken
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement ReadableStreamBytesConsumer This CL implements ReadableStreamBytesConsumer and replaces ReadableStreamDataConsumerHandle with it. BUG=610195 Committed: https://crrev.com/bf54066c4ef19c4815dc5433d4152a322686a8c0 Cr-Commit-Position: refs/heads/master@{#422369}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : fix #

Total comments: 30

Patch Set 7 : rebase #

Patch Set 8 : fix #

Patch Set 9 : fix #

Patch Set 10 : git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+676 lines, -893 lines) Patch
M third_party/WebKit/Source/modules/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -4 lines 0 comments Download
A third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.h View 1 2 3 4 5 6 7 8 9 1 chunk +74 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +219 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumerTest.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +377 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -57 lines 0 comments Download
D third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandle.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -272 lines 0 comments Download
D third_party/WebKit/Source/modules/fetch/ReadableStreamDataConsumerHandleTest.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -555 lines 0 comments Download
M third_party/WebKit/Source/modules/fetch/Response.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 50 (41 generated)
yhirano
4 years, 2 months ago (2016-09-28 02:15:00 UTC) #16
hiroshige
code basically looks good: just moving code as-is, except for removing thread-related things and ReadingContext. ...
4 years, 2 months ago (2016-09-30 06:35:15 UTC) #27
yhirano
https://codereview.chromium.org/2365853002/diff/100001/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp File third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp (right): https://codereview.chromium.org/2365853002/diff/100001/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp#newcode108 third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp:108: DCHECK_LE(m_pendingOffset, m_pendingBuffer->length()); On 2016/09/30 06:35:14, hiroshige wrote: > This ...
4 years, 2 months ago (2016-09-30 09:01:02 UTC) #34
hiroshige
lgtm. https://codereview.chromium.org/2365853002/diff/100001/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp File third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp (right): https://codereview.chromium.org/2365853002/diff/100001/third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp#newcode108 third_party/WebKit/Source/modules/fetch/ReadableStreamBytesConsumer.cpp:108: DCHECK_LE(m_pendingOffset, m_pendingBuffer->length()); On 2016/09/30 09:01:02, yhirano wrote: > ...
4 years, 2 months ago (2016-09-30 11:46:25 UTC) #37
yhirano
+haraken@ for modules/BUILD.gn.
4 years, 2 months ago (2016-09-30 15:00:17 UTC) #39
haraken
LGTM
4 years, 2 months ago (2016-10-03 01:35:33 UTC) #40
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/2365853002/180001
4 years, 2 months ago (2016-10-03 03:37:56 UTC) #47
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 2 months ago (2016-10-03 04:11:42 UTC) #48
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 04:13:46 UTC) #50
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/bf54066c4ef19c4815dc5433d4152a322686a8c0
Cr-Commit-Position: refs/heads/master@{#422369}

Powered by Google App Engine
This is Rietveld 408576698