Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(6)

Issue 1176243004: Add FetchDataConsumerHandle and utility functions/classes (Closed)

Created:
4 years, 10 months ago by hiroshige
Modified:
4 years, 10 months ago
Reviewers:
yhirano
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add FetchDataConsumerHandle and utility functions/classes BUG=480746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197333

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Rebase, refactor #

Patch Set 5 : Build break fix OK. #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 26

Patch Set 8 : Reflect comments. #

Total comments: 4

Patch Set 9 : Reflect comments. #

Patch Set 10 : Renamed to drainAsBlobDataHandle(). #

Patch Set 11 : Bug fix. also made drainAsBlobDataHandle() non-abstract. #

Patch Set 12 : Build break fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+548 lines, -277 lines) Patch
M Source/modules/fetch/CompositeDataConsumerHandle.h View 1 2 3 1 chunk +0 lines, -15 lines 0 comments Download
M Source/modules/fetch/CompositeDataConsumerHandle.cpp View 1 2 3 4 5 6 7 3 chunks +0 lines, -78 lines 0 comments Download
M Source/modules/fetch/CompositeDataConsumerHandleTest.cpp View 1 2 3 4 5 6 7 9 chunks +24 lines, -184 lines 0 comments Download
A Source/modules/fetch/DataConsumerHandleTestUtil.h View 1 2 3 4 5 6 7 8 1 chunk +178 lines, -0 lines 0 comments Download
A Source/modules/fetch/DataConsumerHandleUtil.h View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
A Source/modules/fetch/DataConsumerHandleUtil.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +151 lines, -0 lines 0 comments Download
A Source/modules/fetch/DataConsumerHandleUtilTest.cpp View 1 2 3 4 5 6 7 1 chunk +95 lines, -0 lines 0 comments Download
A Source/modules/fetch/FetchDataConsumerHandle.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +49 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
hiroshige
PTAL.
4 years, 10 months ago (2015-06-16 19:28:54 UTC) #5
yhirano
https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/CompositeDataConsumerHandle.cpp File Source/modules/fetch/CompositeDataConsumerHandle.cpp (right): https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/CompositeDataConsumerHandle.cpp#newcode13 Source/modules/fetch/CompositeDataConsumerHandle.cpp:13: #include "wtf/Functional.h" You don't need this since bind is ...
4 years, 10 months ago (2015-06-17 04:13:35 UTC) #6
hiroshige
https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/CompositeDataConsumerHandle.cpp File Source/modules/fetch/CompositeDataConsumerHandle.cpp (right): https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/CompositeDataConsumerHandle.cpp#newcode13 Source/modules/fetch/CompositeDataConsumerHandle.cpp:13: #include "wtf/Functional.h" On 2015/06/17 04:13:34, yhirano wrote: > You ...
4 years, 10 months ago (2015-06-17 08:30:24 UTC) #7
yhirano
https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/FetchDataConsumerHandle.h File Source/modules/fetch/FetchDataConsumerHandle.h (right): https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/FetchDataConsumerHandle.h#newcode33 Source/modules/fetch/FetchDataConsumerHandle.h:33: virtual PassRefPtr<BlobDataHandle> blobDataHandle() = 0; On 2015/06/17 08:30:23, hiroshige ...
4 years, 10 months ago (2015-06-17 09:10:16 UTC) #8
hiroshige
https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/FetchDataConsumerHandle.h File Source/modules/fetch/FetchDataConsumerHandle.h (right): https://codereview.chromium.org/1176243004/diff/180001/Source/modules/fetch/FetchDataConsumerHandle.h#newcode33 Source/modules/fetch/FetchDataConsumerHandle.h:33: virtual PassRefPtr<BlobDataHandle> blobDataHandle() = 0; On 2015/06/17 09:10:16, yhirano ...
4 years, 10 months ago (2015-06-17 09:25:27 UTC) #9
yhirano
Looks good, but I have a question about FetchDataConsumerHandle.h interface at [1]. One possible fix ...
4 years, 10 months ago (2015-06-17 09:36:35 UTC) #10
hiroshige
On 2015/06/17 09:36:35, yhirano wrote: > Looks good, but I have a question about FetchDataConsumerHandle.h ...
4 years, 10 months ago (2015-06-17 10:55:31 UTC) #11
yhirano
On 2015/06/17 10:55:31, hiroshige wrote: > On 2015/06/17 09:36:35, yhirano wrote: > > Looks good, ...
4 years, 10 months ago (2015-06-17 11:11:47 UTC) #12
hiroshige
On 2015/06/17 11:11:47, yhirano wrote: > On 2015/06/17 10:55:31, hiroshige wrote: > > On 2015/06/17 ...
4 years, 10 months ago (2015-06-17 16:23:02 UTC) #13
hiroshige
> After the first read / beginRead, drainAsBlobDataHandle() will return nullptr. > think it should ...
4 years, 10 months ago (2015-06-17 16:24:55 UTC) #14
yhirano
lgtm
4 years, 10 months ago (2015-06-18 06:46:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1176243004/280001
4 years, 10 months ago (2015-06-18 07:02:21 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2015-06-18 09:12:34 UTC) #18
Message was sent while issue was closed.
Committed patchset #12 (id:280001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197333

Powered by Google App Engine
This is Rietveld 408576698