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

Issue 3020032: Implement server push protocol 2. (Closed)

Created:
10 years, 4 months ago by erikchen
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement server push protocol 2. TEST=net_unittests BUG=34761 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55095

Patch Set 1 #

Patch Set 2 : whitespace #

Total comments: 22

Patch Set 3 : Merge trunk. Server push behaves more like non-push case. #

Patch Set 4 : Cleanup. #

Patch Set 5 : Merge trunk. #

Patch Set 6 : nit. #

Patch Set 7 : Removed an oudated unittest. Removed a placeholder unittest. #

Total comments: 12

Patch Set 8 : nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1126 lines, -337 lines) Patch
M net/http/http_network_layer.h View 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M net/http/http_network_layer.cc View 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M net/spdy/spdy_http_stream.cc View 1 2 3 chunks +6 lines, -7 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 3 4 5 6 7 24 chunks +651 lines, -18 lines 0 comments Download
M net/spdy/spdy_protocol.h View 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 chunks +4 lines, -9 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 12 chunks +70 lines, -123 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -78 lines 0 comments Download
M net/spdy/spdy_stream.h View 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream.cc View 1 2 3 6 chunks +44 lines, -25 lines 0 comments Download
M net/spdy/spdy_test_util.h View 1 2 5 chunks +88 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_util.cc View 1 2 3 4 5 6 7 10 chunks +219 lines, -76 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
erikchen
Server push protocol 2.
10 years, 4 months ago (2010-07-26 23:08:16 UTC) #1
Mike Belshe
http://codereview.chromium.org/3020032/diff/2001/3002 File net/spdy/spdy_network_transaction_unittest.cc (right): http://codereview.chromium.org/3020032/diff/2001/3002#newcode1412 net/spdy/spdy_network_transaction_unittest.cc:1412: } A couple ideas for more tests: * I ...
10 years, 4 months ago (2010-07-27 00:40:22 UTC) #2
cbentzel
I added Matthew Lloyd, who uncovered a number of the issues with the initial implementation ...
10 years, 4 months ago (2010-07-27 00:57:27 UTC) #3
erikchen
http://codereview.chromium.org/3020032/diff/2001/3002 File net/spdy/spdy_network_transaction_unittest.cc (right): http://codereview.chromium.org/3020032/diff/2001/3002#newcode1412 net/spdy/spdy_network_transaction_unittest.cc:1412: } On 2010/07/27 00:40:22, Mike Belshe wrote: > A ...
10 years, 4 months ago (2010-08-03 21:51:09 UTC) #4
Mike Belshe
lgtm with nits http://codereview.chromium.org/3020032/diff/27001/28002 File net/http/http_network_layer.h (right): http://codereview.chromium.org/3020032/diff/27001/28002#newcode52 net/http/http_network_layer.h:52: explicit HttpNetworkLayer(HttpNetworkSession* session); style: spacing. http://codereview.chromium.org/3020032/diff/27001/28004 ...
10 years, 4 months ago (2010-08-05 17:42:48 UTC) #5
erikchen
10 years, 4 months ago (2010-08-05 17:57:23 UTC) #6
http://codereview.chromium.org/3020032/diff/27001/28002
File net/http/http_network_layer.h (right):

http://codereview.chromium.org/3020032/diff/27001/28002#newcode52
net/http/http_network_layer.h:52: explicit HttpNetworkLayer(HttpNetworkSession*
session);
On 2010/08/05 17:42:48, Mike Belshe wrote:
> style: spacing.

Done.

http://codereview.chromium.org/3020032/diff/27001/28004
File net/spdy/spdy_network_transaction_unittest.cc (right):

http://codereview.chromium.org/3020032/diff/27001/28004#newcode289
net/spdy/spdy_network_transaction_unittest.cc:289: HttpResponseInfo* response,
HttpResponseInfo* response2,
On 2010/08/05 17:42:48, Mike Belshe wrote:
> nit: spacing :-)

Done.

http://codereview.chromium.org/3020032/diff/27001/28004#newcode363
net/spdy/spdy_network_transaction_unittest.cc:363: ::testing::Values(SPDYNOSSL,
SPDYSSL, SPDYNPN));
On 2010/08/05 17:42:48, Mike Belshe wrote:
> accidental change?

Just wanted to make the order match the order of the switch statement above.

http://codereview.chromium.org/3020032/diff/27001/28010
File net/spdy/spdy_stream.h (right):

http://codereview.chromium.org/3020032/diff/27001/28010#newcode217
net/spdy/spdy_stream.h:217: // There is a small period of time between when a
server pushed stream is
On 2010/08/05 17:42:48, Mike Belshe wrote:
> nit: add blank line between 217/218

Done.

http://codereview.chromium.org/3020032/diff/27001/28011
File net/spdy/spdy_test_util.cc (right):

http://codereview.chromium.org/3020032/diff/27001/28011#newcode740
net/spdy/spdy_test_util.cc:740: type,             // Kind = Syn
On 2010/08/05 17:42:48, Mike Belshe wrote:
> nit: spacing alignment  on the comment

Done.

http://codereview.chromium.org/3020032/diff/27001/28013
File net/url_request/url_request_unittest.cc (right):

http://codereview.chromium.org/3020032/diff/27001/28013#newcode40
net/url_request/url_request_unittest.cc:40: #include
"net/http/http_network_transaction.h"
On 2010/08/05 17:42:48, Mike Belshe wrote:
> nit: gratuitous?

Done.

Powered by Google App Engine
This is Rietveld 408576698