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

Issue 3079002: Refactor SpdyHttpStream to implement HttpStream. Required adding a new... (Closed)

Created:
10 years, 5 months ago by rch (use chromium not google)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Refactor SpdyHttpStream to implement HttpStream. Required adding a new method to HttpStream, and refactoring BasicHttpStream as well. BUG=50268

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 21

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 13

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 11

Patch Set 10 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -113 lines) Patch
M net/http/http_basic_stream.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -3 lines 1 comment Download
M net/http/http_basic_stream.cc View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -7 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -10 lines 0 comments Download
M net/http/http_proxy_client_socket.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_stream.h View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -3 lines 0 comments Download
M net/http/http_stream_parser.h View 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_stream_parser.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M net/spdy/spdy_http_stream.h View 1 2 3 4 5 6 7 8 9 4 chunks +35 lines, -25 lines 1 comment Download
M net/spdy/spdy_http_stream.cc View 1 2 3 4 5 6 7 8 9 5 chunks +36 lines, -39 lines 1 comment Download
M net/spdy/spdy_http_stream_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +20 lines, -11 lines 0 comments Download
M net/spdy/spdy_network_transaction.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -5 lines 0 comments Download
M net/spdy/spdy_test_util.h View 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_util.cc View 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
rch (use chromium not google)
I've refactored HttpStream, SpdyHttpStream and HttpBasicStream so that SpdyHttpStream now implements (a slightly wider) HttpStream ...
10 years, 5 months ago (2010-07-27 18:53:52 UTC) #1
Mike Belshe
10 years, 5 months ago (2010-07-27 19:09:58 UTC) #2
Mike Belshe
This looks great. Thanks!!! Just the one question about the SendRequest args. http://codereview.chromium.org/3079002/diff/15002/31005 File net/http/http_stream.h ...
10 years, 5 months ago (2010-07-27 19:40:35 UTC) #3
rch (use chromium not google)
http://codereview.chromium.org/3079002/diff/15002/31005 File net/http/http_stream.h (right): http://codereview.chromium.org/3079002/diff/15002/31005#newcode39 net/http/http_stream.h:39: virtual int SendRequest(const std::string& request_headers, On 2010/07/27 19:40:35, Mike ...
10 years, 5 months ago (2010-07-27 20:50:45 UTC) #4
mbelshe
On Tue, Jul 27, 2010 at 1:50 PM, <rch@google.com> wrote: > > http://codereview.chromium.org/3079002/diff/15002/31005 > File ...
10 years, 5 months ago (2010-07-27 20:58:24 UTC) #5
vandebo (ex-Chrome)
On 2010/07/27 20:58:24, mbelshe wrote: > On Tue, Jul 27, 2010 at 1:50 PM, <mailto:rch@google.com> ...
10 years, 5 months ago (2010-07-27 21:10:47 UTC) #6
rch (use chromium not google)
http://codereview.chromium.org/3079002/diff/15002/31001 File net/http/http_basic_stream.cc (right): http://codereview.chromium.org/3079002/diff/15002/31001#newcode26 net/http/http_basic_stream.cc:26: return parser_->SendRequest( On 2010/07/27 21:10:47, vandebo wrote: > DCHECK ...
10 years, 5 months ago (2010-07-27 21:31:06 UTC) #7
vandebo (ex-Chrome)
http://codereview.chromium.org/3079002/diff/15002/31001 File net/http/http_basic_stream.cc (right): http://codereview.chromium.org/3079002/diff/15002/31001#newcode26 net/http/http_basic_stream.cc:26: return parser_->SendRequest( On 2010/07/27 21:31:06, Ryan Hamilton wrote: > ...
10 years, 5 months ago (2010-07-27 22:15:11 UTC) #8
rch (use chromium not google)
http://codereview.chromium.org/3079002/diff/15002/31001 File net/http/http_basic_stream.cc (right): http://codereview.chromium.org/3079002/diff/15002/31001#newcode26 net/http/http_basic_stream.cc:26: return parser_->SendRequest( On 2010/07/27 22:15:11, vandebo wrote: > On ...
10 years, 5 months ago (2010-07-27 23:10:35 UTC) #9
rch (use chromium not google)
On Tue, Jul 27, 2010 at 2:10 PM, <vandebo@chromium.org> wrote: > On 2010/07/27 20:58:24, mbelshe ...
10 years, 5 months ago (2010-07-27 23:13:55 UTC) #10
Mike Belshe
LGTM
10 years, 5 months ago (2010-07-27 23:15:09 UTC) #11
vandebo (ex-Chrome)
http://codereview.chromium.org/3079002/diff/34002/11004 File net/http/http_basic_stream.h (right): http://codereview.chromium.org/3079002/diff/34002/11004#newcode16 net/http/http_basic_stream.h:16: #include "net/http/http_request_info.h" Can change this back to a declaration. ...
10 years, 5 months ago (2010-07-27 23:59:05 UTC) #12
rch (use chromium not google)
Will see what the trybots have to say... http://codereview.chromium.org/3079002/diff/34002/11004 File net/http/http_basic_stream.h (right): http://codereview.chromium.org/3079002/diff/34002/11004#newcode16 net/http/http_basic_stream.h:16: #include ...
10 years, 5 months ago (2010-07-28 00:34:05 UTC) #13
vandebo (ex-Chrome)
http://codereview.chromium.org/3079002/diff/31013/12 File net/http/http_basic_stream.cc (right): http://codereview.chromium.org/3079002/diff/31013/12#newcode17 net/http/http_basic_stream.cc:17: parser_.reset(new HttpStreamParser(connection_, &request_info, Changes to HttpStreamParser missing? http://codereview.chromium.org/3079002/diff/31013/14 File ...
10 years, 5 months ago (2010-07-28 00:59:05 UTC) #14
rch (use chromium not google)
Once more into the breach... I ran the previous version through the trybots and got ...
10 years, 5 months ago (2010-07-28 03:55:36 UTC) #15
vandebo (ex-Chrome)
10 years, 4 months ago (2010-07-28 23:30:39 UTC) #16
LGTM

http://codereview.chromium.org/3079002/diff/4005/5014
File net/http/http_basic_stream.h (right):

http://codereview.chromium.org/3079002/diff/4005/5014#newcode36
net/http/http_basic_stream.h:36: CompletionCallback* callback);
nit: callback is unused

http://codereview.chromium.org/3079002/diff/4005/5020
File net/spdy/spdy_http_stream.cc (right):

http://codereview.chromium.org/3079002/diff/4005/5020#newcode237
net/spdy/spdy_http_stream.cc:237: int SpdyHttpStream::SendRequest(const
std::string& /*headers_string*/,
My mistake, it's in the headers that we comment it out.

http://codereview.chromium.org/3079002/diff/4005/5021
File net/spdy/spdy_http_stream.h (right):

http://codereview.chromium.org/3079002/diff/4005/5021#newcode51
net/spdy/spdy_http_stream.h:51: virtual int SendRequest(const std::string&
headers,
Here.

Powered by Google App Engine
This is Rietveld 408576698