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

Issue 2868633002: Create a QuicChromiumClientStream::Handle class for allowing a stream (Closed)

Created:
3 years, 7 months ago by Ryan Hamilton
Modified:
3 years, 7 months ago
Reviewers:
xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Create a QuicChromiumClientStream::Handle class for allowing a stream to a be accessed even after it's deleted. This will allow the upcalls to be removed in subsequent CLs. This does NOT introduce any new semantics between the Bidi/Http stream and the QUIC stream. It simply adds a layer of indirection between them. Subsequent CLs will change semantics, switchings from upcalls to async IO. But this CL is big enough as it is :) Review-Url: https://codereview.chromium.org/2868633002 Cr-Commit-Position: refs/heads/master@{#470354} Committed: https://chromium.googlesource.com/chromium/src/+/08e198571dd5b5f51642bc5591277da924a42cab

Patch Set 1 #

Patch Set 2 : Tests and cleanup #

Patch Set 3 : Cleanup #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Total comments: 17

Patch Set 6 : Fix comments #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -99 lines) Patch
M net/quic/chromium/bidirectional_stream_quic_impl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/bidirectional_stream_quic_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M net/quic/chromium/quic_chromium_client_session.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_session.cc View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_stream.h View 1 2 3 4 5 4 chunks +130 lines, -16 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_stream.cc View 1 2 3 4 5 8 chunks +266 lines, -46 lines 0 comments Download
M net/quic/chromium/quic_chromium_client_stream_test.cc View 1 2 3 6 chunks +107 lines, -6 lines 0 comments Download
M net/quic/chromium/quic_http_stream.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M net/quic/chromium/quic_http_stream.cc View 1 2 3 6 chunks +10 lines, -11 lines 0 comments Download
M net/quic/chromium/quic_http_stream_test.cc View 1 2 3 4 5 6 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
Ryan Hamilton
Here's the next CL in the pipeline :) It doesn't really *do* very much yet, ...
3 years, 7 months ago (2017-05-07 22:39:49 UTC) #3
xunjieli
I am triage duty today, so here's a very brief round of review. https://codereview.chromium.org/2868633002/diff/80001/net/quic/chromium/quic_chromium_client_stream.cc File ...
3 years, 7 months ago (2017-05-08 19:51:01 UTC) #10
Ryan Hamilton
Thanks for the comments while on triage! https://codereview.chromium.org/2868633002/diff/80001/net/quic/chromium/quic_chromium_client_stream.cc File net/quic/chromium/quic_chromium_client_stream.cc (right): https://codereview.chromium.org/2868633002/diff/80001/net/quic/chromium/quic_chromium_client_stream.cc#newcode120 net/quic/chromium/quic_chromium_client_stream.cc:120: // On ...
3 years, 7 months ago (2017-05-08 20:58:06 UTC) #11
xunjieli
looks great. LGTM. Sorry about the delay. I was trying to make sure I understand ...
3 years, 7 months ago (2017-05-09 15:03:46 UTC) #14
Ryan Hamilton
Thanks so much! https://codereview.chromium.org/2868633002/diff/80001/net/quic/chromium/quic_chromium_client_stream.h File net/quic/chromium/quic_chromium_client_stream.h (right): https://codereview.chromium.org/2868633002/diff/80001/net/quic/chromium/quic_chromium_client_stream.h#newcode131 net/quic/chromium/quic_chromium_client_stream.h:131: void OnPromiseHeaderList(QuicStreamId promised_id, On 2017/05/09 15:03:46, ...
3 years, 7 months ago (2017-05-09 16:48:19 UTC) #17
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/2868633002/120001
3 years, 7 months ago (2017-05-09 16:49:04 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 16:57:16 UTC) #22
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/08e198571dd5b5f51642bc559127...

Powered by Google App Engine
This is Rietveld 408576698