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

Issue 1149563007: Add WebDataConsumerHandle::Reader interface. (Closed)

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

Description

Add WebDataConsumerHandle::Reader interface. As a robust API for WebDataConsumerHandle, we add Reader interface on it and deprecate existing read / beginRead / endRead / registerClient / unregisterClient methods. The new API is better because - Reader is now bound to a thread. - WebDataConsumerHandle is now thread-safe. - A Handle subclass can extend Reader APIs. The followup CLs will remove the deprecated functions. BUG=480746 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197029

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Total comments: 15

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -8 lines) Patch
M public/platform/WebDataConsumerHandle.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +94 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
yhirano
4 years, 11 months ago (2015-06-04 09:21:18 UTC) #4
hiroshige
Are you going to remove read() etc. from WebDataConsumerHandle in a 3-step way? If so, ...
4 years, 11 months ago (2015-06-04 10:06:15 UTC) #5
yhirano
I've not yet decided how to remove the deprecated functions. https://codereview.chromium.org/1149563007/diff/60001/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1149563007/diff/60001/public/platform/WebDataConsumerHandle.h#newcode21 ...
4 years, 11 months ago (2015-06-04 12:04:09 UTC) #6
yhirano
I uploaded followup CLs [1] and [2]. 1: https://codereview.chromium.org/1164493008/ 2: https://codereview.chromium.org/1163653005/
4 years, 11 months ago (2015-06-05 11:13:24 UTC) #8
hiroshige
So, we are ready to remove the deprecated APIs if we commit the follow-up CLs, ...
4 years, 10 months ago (2015-06-08 04:15:23 UTC) #9
yhirano
On 2015/06/08 04:15:23, hiroshige wrote: > So, we are ready to remove the deprecated APIs ...
4 years, 10 months ago (2015-06-08 04:33:20 UTC) #10
hiroshige
lgtm. https://codereview.chromium.org/1149563007/diff/140001/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1149563007/diff/140001/public/platform/WebDataConsumerHandle.h#newcode93 public/platform/WebDataConsumerHandle.h:93: // instaed. nit: s/instaed/instead/.
4 years, 10 months ago (2015-06-08 05:25:29 UTC) #11
yhirano
https://codereview.chromium.org/1149563007/diff/140001/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1149563007/diff/140001/public/platform/WebDataConsumerHandle.h#newcode93 public/platform/WebDataConsumerHandle.h:93: // instaed. On 2015/06/08 05:25:28, hiroshige wrote: > nit: ...
4 years, 10 months ago (2015-06-08 12:00:17 UTC) #12
hiroshige
During implementing FetchBlobDataConsumerHandle, I found following points that I'd like to clarify in the spec ...
4 years, 10 months ago (2015-06-09 14:26:25 UTC) #13
yhirano
https://codereview.chromium.org/1149563007/diff/180001/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1149563007/diff/180001/public/platform/WebDataConsumerHandle.h#newcode33 public/platform/WebDataConsumerHandle.h:33: ShouldWait, On 2015/06/09 14:26:24, hiroshige wrote: > What are ...
4 years, 10 months ago (2015-06-10 11:10:27 UTC) #15
yhirano
+tkent for OWNER review.
4 years, 10 months ago (2015-06-12 07:40:39 UTC) #17
tkent
https://codereview.chromium.org/1149563007/diff/260001/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1149563007/diff/260001/public/platform/WebDataConsumerHandle.h#newcode13 public/platform/WebDataConsumerHandle.h:13: #include <base/memory/scoped_ptr.h> We don't allow base/ dependency yet though ...
4 years, 10 months ago (2015-06-12 07:51:49 UTC) #18
yhirano
https://codereview.chromium.org/1149563007/diff/260001/public/platform/WebDataConsumerHandle.h File public/platform/WebDataConsumerHandle.h (right): https://codereview.chromium.org/1149563007/diff/260001/public/platform/WebDataConsumerHandle.h#newcode13 public/platform/WebDataConsumerHandle.h:13: #include <base/memory/scoped_ptr.h> On 2015/06/12 07:51:49, tkent wrote: > We ...
4 years, 10 months ago (2015-06-12 08:13:13 UTC) #19
tkent
lgtm
4 years, 10 months ago (2015-06-12 08:15:28 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149563007/280001
4 years, 10 months ago (2015-06-12 08:16:29 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2015-06-12 11:07:28 UTC) #24
Message was sent while issue was closed.
Committed patchset #11 (id:280001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197029

Powered by Google App Engine
This is Rietveld 408576698