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

Issue 1744693002: Implement QUIC-based net::BidirectionalStream (Closed)

Created:
4 years, 10 months ago by xunjieli
Modified:
4 years, 9 months ago
Reviewers:
mef, Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, rjshade
Base URL:
https://chromium.googlesource.com/chromium/src.git@basecl
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement QUIC-based net::BidirectionalStream This CL implements a QUIC-based BidirectionalStream and adds unit tests. BUG=584338 Committed: https://crrev.com/0527bf95252b833b591be2f8e116cffd004ff189 Cr-Commit-Position: refs/heads/master@{#380919} Committed: https://crrev.com/2608f9bb792efa1a90730000038d518cd5bca400 Cr-Commit-Position: refs/heads/master@{#380965}

Patch Set 1 : #

Total comments: 18

Patch Set 2 : Address Ryan's comments #

Total comments: 6

Patch Set 3 : Address Misha's comments #

Patch Set 4 : Rebased #

Patch Set 5 : Removed dependency #

Total comments: 16

Patch Set 6 : Address Ryan's comments #

Total comments: 4

Patch Set 7 : Address comments and fixed tests #

Total comments: 12

Patch Set 8 : #

Patch Set 9 : Address Misha's comments #

Patch Set 10 : Adjusted tests because of trailers change #

Patch Set 11 : Rebased #

Patch Set 12 : Rebased again #

Patch Set 13 : Fix compile due to merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1977 lines, -182 lines) Patch
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -1 line 0 comments Download
M net/http/http_stream_factory.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +13 lines, -34 lines 0 comments Download
M net/http/http_stream_factory_impl_job.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +24 lines, -11 lines 0 comments Download
M net/http/http_stream_factory_impl_request.h View 1 2 3 4 5 4 chunks +5 lines, -10 lines 0 comments Download
M net/http/http_stream_factory_impl_request.cc View 1 2 3 4 5 5 chunks +5 lines, -5 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +232 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
A net/quic/bidirectional_stream_quic_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +119 lines, -0 lines 0 comments Download
A net/quic/bidirectional_stream_quic_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +264 lines, -0 lines 0 comments Download
A net/quic/bidirectional_stream_quic_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1138 lines, -0 lines 0 comments Download
M net/quic/quic_stream_factory.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -3 lines 0 comments Download
M net/quic/quic_stream_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +27 lines, -12 lines 0 comments Download
M net/quic/quic_stream_factory_test.cc View 1 2 3 4 5 6 7 8 9 10 11 78 chunks +102 lines, -102 lines 0 comments Download
M net/quic/test_tools/quic_test_packet_maker.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M net/quic/test_tools/quic_test_packet_maker.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +11 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 48 (20 generated)
xunjieli
Ryan and Misha: PTAL. (This depends on the trailers CL. But they should be largely ...
4 years, 9 months ago (2016-02-26 23:34:36 UTC) #5
Ryan Hamilton
I'd like to back up and talk about the #ifdef approach to this bidirectional code. ...
4 years, 9 months ago (2016-02-27 00:21:15 UTC) #6
xunjieli
Thanks for the review! I agree that the ifdefs is pretty ugly. But we are ...
4 years, 9 months ago (2016-02-29 15:21:38 UTC) #7
xunjieli
+ rjshade@
4 years, 9 months ago (2016-02-29 15:51:45 UTC) #9
mef
https://codereview.chromium.org/1744693002/diff/60001/net/http/http_stream_factory_impl_unittest.cc File net/http/http_stream_factory_impl_unittest.cc (right): https://codereview.chromium.org/1744693002/diff/60001/net/http/http_stream_factory_impl_unittest.cc#newcode753 net/http/http_stream_factory_impl_unittest.cc:753: // a BidirectionalStreamJob::Delegate to wait until response headers are ...
4 years, 9 months ago (2016-02-29 16:26:52 UTC) #10
xunjieli
Thanks for the review! PTAL. https://codereview.chromium.org/1744693002/diff/60001/net/http/http_stream_factory_impl_unittest.cc File net/http/http_stream_factory_impl_unittest.cc (right): https://codereview.chromium.org/1744693002/diff/60001/net/http/http_stream_factory_impl_unittest.cc#newcode753 net/http/http_stream_factory_impl_unittest.cc:753: // a BidirectionalStreamJob::Delegate to ...
4 years, 9 months ago (2016-02-29 16:34:09 UTC) #11
xunjieli
Thanks Ryan for reviewing the other trailers CL! Since that is landed, friendly pinging for ...
4 years, 9 months ago (2016-03-02 16:43:39 UTC) #12
Ryan Hamilton
https://codereview.chromium.org/1744693002/diff/120001/net/http/http_stream_factory.h File net/http/http_stream_factory.h (right): https://codereview.chromium.org/1744693002/diff/120001/net/http/http_stream_factory.h#newcode59 net/http/http_stream_factory.h:59: BIDIRECTIONAL_STREAM_SPDY_JOB, This name is pretty long. How about just ...
4 years, 9 months ago (2016-03-03 04:14:58 UTC) #13
xunjieli
Looks much better than the last patch. Thanks! PTAL. https://codereview.chromium.org/1744693002/diff/120001/net/http/http_stream_factory.h File net/http/http_stream_factory.h (right): https://codereview.chromium.org/1744693002/diff/120001/net/http/http_stream_factory.h#newcode59 net/http/http_stream_factory.h:59: ...
4 years, 9 months ago (2016-03-03 16:54:20 UTC) #15
xunjieli
A friendly ping..
4 years, 9 months ago (2016-03-07 16:03:44 UTC) #16
Ryan Hamilton
Looking much better. https://codereview.chromium.org/1744693002/diff/120001/net/quic/quic_stream_factory.cc File net/quic/quic_stream_factory.cc (right): https://codereview.chromium.org/1744693002/diff/120001/net/quic/quic_stream_factory.cc#newcode562 net/quic/quic_stream_factory.cc:562: } On 2016/03/03 16:54:19, xunjieli wrote: ...
4 years, 9 months ago (2016-03-07 20:12:37 UTC) #17
xunjieli
Thanks Ryan! PTAL. https://codereview.chromium.org/1744693002/diff/120001/net/quic/quic_stream_factory.cc File net/quic/quic_stream_factory.cc (right): https://codereview.chromium.org/1744693002/diff/120001/net/quic/quic_stream_factory.cc#newcode562 net/quic/quic_stream_factory.cc:562: } On 2016/03/07 20:12:37, Ryan Hamilton ...
4 years, 9 months ago (2016-03-08 15:39:32 UTC) #18
Ryan Hamilton
lgtm
4 years, 9 months ago (2016-03-08 23:06:09 UTC) #19
mef
On 2016/03/08 23:06:09, Ryan Hamilton wrote: > lgtm Yay! I'll look tomorrow, but last time ...
4 years, 9 months ago (2016-03-08 23:08:21 UTC) #20
xunjieli
On 2016/03/08 23:08:21, mef wrote: > On 2016/03/08 23:06:09, Ryan Hamilton wrote: > > lgtm ...
4 years, 9 months ago (2016-03-08 23:12:23 UTC) #21
mef
Looks pretty good, just few nits and questions. Also, maybe as a separate CL, but ...
4 years, 9 months ago (2016-03-09 17:20:37 UTC) #22
xunjieli
Thanks, PTAL. https://codereview.chromium.org/1744693002/diff/180001/net/quic/bidirectional_stream_quic_impl.cc File net/quic/bidirectional_stream_quic_impl.cc (right): https://codereview.chromium.org/1744693002/diff/180001/net/quic/bidirectional_stream_quic_impl.cc#newcode72 net/quic/bidirectional_stream_quic_impl.cc:72: int BidirectionalStreamQuicImpl::ReadData(IOBuffer* buf, int buf_len) { On ...
4 years, 9 months ago (2016-03-09 21:34:54 UTC) #24
mef
lgtm, thanks!
4 years, 9 months ago (2016-03-10 19:56:26 UTC) #25
xunjieli
On 2016/03/10 19:56:26, mef wrote: > lgtm, thanks! Thanks! I will land this once I ...
4 years, 9 months ago (2016-03-10 20:17:40 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1744693002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1744693002/300001
4 years, 9 months ago (2016-03-14 00:49:30 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/144254) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-14 00:55:57 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1744693002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1744693002/320001
4 years, 9 months ago (2016-03-14 01:09:18 UTC) #35
commit-bot: I haz the power
Committed patchset #12 (id:320001)
4 years, 9 months ago (2016-03-14 02:25:56 UTC) #37
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/0527bf95252b833b591be2f8e116cffd004ff189 Cr-Commit-Position: refs/heads/master@{#380919}
4 years, 9 months ago (2016-03-14 02:28:19 UTC) #39
xunjieli
A revert of this CL (patchset #12 id:320001) has been created in https://codereview.chromium.org/1793273004/ by xunjieli@chromium.org. ...
4 years, 9 months ago (2016-03-14 03:14:36 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1744693002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1744693002/340001
4 years, 9 months ago (2016-03-14 12:25:39 UTC) #44
commit-bot: I haz the power
Committed patchset #13 (id:340001)
4 years, 9 months ago (2016-03-14 13:39:36 UTC) #46
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 13:41:19 UTC) #48
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/2608f9bb792efa1a90730000038d518cd5bca400
Cr-Commit-Position: refs/heads/master@{#380965}

Powered by Google App Engine
This is Rietveld 408576698