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

Issue 11364068: Add a QuicHttpStream class. (Closed)

Created:
8 years, 1 month ago by Ryan Hamilton
Modified:
8 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : rebase #

Patch Set 4 : Progress #

Patch Set 5 : SendRequest working #

Patch Set 6 : Working test #

Patch Set 7 : QuicClientSession owns the streams it creates. #

Patch Set 8 : Cleanup #

Patch Set 9 : Hide the session from QuicHttpStream #

Patch Set 10 : Rebase #

Patch Set 11 : Fix bugs #

Total comments: 23

Patch Set 12 : remove commented out code #

Patch Set 13 : Make GetPeerAddress const #

Total comments: 14

Patch Set 14 : Fix comments #

Patch Set 15 : More comment fixes #

Patch Set 16 : Anon namespace #

Patch Set 17 : Move GetPeerAddress from QuicReliableClientStream to ReliableQuicStream #

Total comments: 26

Patch Set 18 : Added test for response and body single packet #

Patch Set 19 : Fix comments #

Patch Set 20 : Rebase #

Total comments: 4

Patch Set 21 : Fix comments #

Patch Set 22 : Fix copyright #

Patch Set 23 : NET_EXPORT_PRIVATE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1037 lines, -12 lines) Patch
M net/http/http_stream_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +5 lines, -0 lines 0 comments Download
M net/net.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -0 lines 0 comments Download
M net/quic/quic_client_session.h View 1 2 3 4 5 6 7 8 9 12 13 14 15 16 17 18 19 3 chunks +4 lines, -0 lines 0 comments Download
M net/quic/quic_client_session.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +14 lines, -0 lines 0 comments Download
M net/quic/quic_client_session_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -5 lines 0 comments Download
M net/quic/quic_connection_helper.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
A net/quic/quic_http_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +135 lines, -0 lines 0 comments Download
A net/quic/quic_http_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +447 lines, -0 lines 0 comments Download
A net/quic/quic_http_stream_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +394 lines, -0 lines 0 comments Download
M net/quic/quic_protocol.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M net/quic/quic_reliable_client_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +5 lines, -1 line 0 comments Download
M net/quic/quic_reliable_client_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +13 lines, -2 lines 0 comments Download
M net/quic/quic_reliable_client_stream_test.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M net/quic/reliable_quic_stream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -0 lines 0 comments Download
M net/quic/reliable_quic_stream.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Ryan Hamilton
8 years, 1 month ago (2012-11-14 23:35:46 UTC) #1
Ryan Hamilton
willchan: Since raman is out, can you take a look.
8 years, 1 month ago (2012-11-17 01:38:04 UTC) #2
willchan no longer on Chromium
I'll land in Maui late Monday, and will take a look afterward.
8 years, 1 month ago (2012-11-17 03:13:38 UTC) #3
willchan no longer on Chromium
Streaming first set of comments. https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_client_session.cc File net/quic/quic_client_session.cc (right): https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_client_session.cc#newcode68 net/quic/quic_client_session.cc:68: //closed_streams_.push_back(it->second); ? https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_client_session.h File ...
8 years, 1 month ago (2012-11-21 22:50:03 UTC) #4
willchan no longer on Chromium
Part 2. I'm going to do the core additions in part 3. https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_reliable_client_stream.cc File net/quic/quic_reliable_client_stream.cc ...
8 years, 1 month ago (2012-11-21 22:55:05 UTC) #5
Ryan Hamilton
https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_client_session.cc File net/quic/quic_client_session.cc (right): https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_client_session.cc#newcode68 net/quic/quic_client_session.cc:68: //closed_streams_.push_back(it->second); On 2012/11/21 22:50:03, willchan wrote: > ? Removed. ...
8 years, 1 month ago (2012-11-21 23:06:35 UTC) #6
willchan no longer on Chromium
https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_http_stream.h File net/quic/quic_http_stream.h (right): https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_http_stream.h#newcode89 net/quic/quic_http_stream.h:89: QuicReliableClientStream* stream_; // Non-owning. Is there a comment somewhere ...
8 years, 1 month ago (2012-11-21 23:07:04 UTC) #7
willchan no longer on Chromium
https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_http_stream.cc File net/quic/quic_http_stream.cc (right): https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_http_stream.cc#newcode174 net/quic/quic_http_stream.cc:174: bool QuicHttpStream::CanFindEndOfResponse() const { Would be great to clean ...
8 years, 1 month ago (2012-11-21 23:27:30 UTC) #8
Ryan Hamilton
https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_http_stream.h File net/quic/quic_http_stream.h (right): https://codereview.chromium.org/11364068/diff/18001/net/quic/quic_http_stream.h#newcode89 net/quic/quic_http_stream.h:89: QuicReliableClientStream* stream_; // Non-owning. On 2012/11/21 23:07:04, willchan wrote: ...
8 years, 1 month ago (2012-11-21 23:35:09 UTC) #9
willchan no longer on Chromium
https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream.cc File net/quic/quic_http_stream.cc (right): https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream.cc#newcode68 net/quic/quic_http_stream.cc:68: if (request_body_stream_ && (request_body_stream_->size() || I know you're just ...
8 years, 1 month ago (2012-11-22 00:46:14 UTC) #10
Ryan Hamilton
https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream.cc File net/quic/quic_http_stream.cc (right): https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream.cc#newcode372 net/quic/quic_http_stream.cc:372: int QuicHttpStream::DoSendBody(int rv) { On 2012/11/22 00:46:14, willchan wrote: ...
8 years, 1 month ago (2012-11-22 00:58:53 UTC) #11
willchan no longer on Chromium
https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc File net/quic/quic_http_stream_test.cc (right): https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc#newcode38 net/quic/quic_http_stream_test.cc:38: const char kUploadData[] = "hello world!"; Unlike the internal ...
8 years, 1 month ago (2012-11-22 03:09:34 UTC) #12
Ryan Hamilton
https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc File net/quic/quic_http_stream_test.cc (right): https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc#newcode38 net/quic/quic_http_stream_test.cc:38: const char kUploadData[] = "hello world!"; On 2012/11/22 03:09:34, ...
8 years, 1 month ago (2012-11-22 03:16:03 UTC) #13
willchan no longer on Chromium
https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc File net/quic/quic_http_stream_test.cc (right): https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc#newcode38 net/quic/quic_http_stream_test.cc:38: const char kUploadData[] = "hello world!"; On 2012/11/22 03:16:04, ...
8 years, 1 month ago (2012-11-22 03:17:48 UTC) #14
Ryan Hamilton
I also switch to "using ReliableClientStream::WriteData" as we discussed offline. https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc File net/quic/quic_http_stream_test.cc (right): https://codereview.chromium.org/11364068/diff/16017/net/quic/quic_http_stream_test.cc#newcode38 ...
8 years, 1 month ago (2012-11-22 03:52:45 UTC) #15
willchan no longer on Chromium
https://codereview.chromium.org/11364068/diff/19037/net/http/http_stream_base.h File net/http/http_stream_base.h (right): https://codereview.chromium.org/11364068/diff/19037/net/http/http_stream_base.h#newcode94 net/http/http_stream_base.h:94: // TODO(rch): Rename this method. Can you explain why ...
8 years, 1 month ago (2012-11-23 03:17:43 UTC) #16
willchan no longer on Chromium
OK, my last new comment! I'm going to revisit all the ones you've answered to ...
8 years, 1 month ago (2012-11-23 03:22:57 UTC) #17
Ryan Hamilton
https://codereview.chromium.org/11364068/diff/19037/net/http/http_stream_base.h File net/http/http_stream_base.h (right): https://codereview.chromium.org/11364068/diff/19037/net/http/http_stream_base.h#newcode94 net/http/http_stream_base.h:94: // TODO(rch): Rename this method. On 2012/11/23 03:17:43, willchan ...
8 years, 1 month ago (2012-11-23 04:19:53 UTC) #18
Ryan Hamilton
Hi Jim, From willchan on his last review, "I wasn't completely comfortable with the test ...
8 years ago (2012-11-26 17:36:36 UTC) #19
jar (doing other things)
quic_http_stream_test LGTM (with upstream changes). https://codereview.chromium.org/11364068/diff/22008/net/quic/quic_http_stream_test.cc File net/quic/quic_http_stream_test.cc (right): https://codereview.chromium.org/11364068/diff/22008/net/quic/quic_http_stream_test.cc#newcode45 net/quic/quic_http_stream_test.cc:45: IPEndPoint address, nit: indent ...
8 years ago (2012-12-03 20:16:51 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11364068/15038
8 years ago (2012-12-03 20:53:31 UTC) #21
commit-bot: I haz the power
Presubmit check for 11364068-15038 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-03 20:53:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11364068/18006
8 years ago (2012-12-03 23:09:23 UTC) #23
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-03 23:37:52 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11364068/18006
8 years ago (2012-12-04 00:40:06 UTC) #25
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-04 01:06:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11364068/28003
8 years ago (2012-12-04 03:24:48 UTC) #27
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests
8 years ago (2012-12-04 06:08:06 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/11364068/28003
8 years ago (2012-12-04 15:09:23 UTC) #29
commit-bot: I haz the power
8 years ago (2012-12-04 15:56:21 UTC) #30
Message was sent while issue was closed.
Change committed as 170968

Powered by Google App Engine
This is Rietveld 408576698