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

Issue 9618002: SPDY - integration of spdy/3 code. (Closed)

Created:
8 years, 9 months ago by ramant (doing other things)
Modified:
8 years, 9 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

SPDY - integration of spdy/3 code. TEST=network unit tests and browser unit_tests R=willchan Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=126175

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 49

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 32

Patch Set 14 : #

Patch Set 15 : #

Total comments: 2

Patch Set 16 : #

Patch Set 17 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4212 lines, -4083 lines) Patch
M chrome/browser/net/http_server_properties_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/net/http_server_properties_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +26 lines, -6 lines 0 comments Download
M net/base/net_test_suite.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -1 line 0 comments Download
M net/http/http_network_layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +10 lines, -8 lines 0 comments Download
M net/http/http_network_transaction_spdy21_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 31 chunks +34 lines, -33 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_server_properties.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -2 lines 0 comments Download
M net/http/http_server_properties.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -1 line 0 comments Download
M net/http/http_server_properties_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +6 lines, -1 line 0 comments Download
M net/http/http_server_properties_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +24 lines, -3 lines 0 comments Download
M net/http/http_server_properties_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +59 lines, -18 lines 0 comments Download
M net/http/http_stream_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 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 2 chunks +7 lines, -2 lines 0 comments Download
M net/socket/ssl_client_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M net/spdy/buffered_spdy_framer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +7 lines, -4 lines 0 comments Download
M net/spdy/buffered_spdy_framer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +11 lines, -8 lines 0 comments Download
M net/spdy/buffered_spdy_framer_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +24 lines, -1 line 0 comments Download
M net/spdy/buffered_spdy_framer_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +24 lines, -1 line 0 comments Download
M net/spdy/spdy_bitmasks.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -5 lines 0 comments Download
M net/spdy/spdy_frame_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +5 lines, -39 lines 0 comments Download
M net/spdy/spdy_frame_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +13 lines, -123 lines 0 comments Download
A net/spdy/spdy_frame_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +97 lines, -0 lines 0 comments Download
A net/spdy/spdy_frame_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +127 lines, -0 lines 0 comments Download
A net/spdy/spdy_frame_reader_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +250 lines, -0 lines 0 comments Download
M net/spdy/spdy_framer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 chunks +156 lines, -72 lines 0 comments Download
M net/spdy/spdy_framer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 53 chunks +474 lines, -429 lines 0 comments Download
A + net/spdy/spdy_framer_spdy2_test.cc View 1 2 3 4 5 6 7 8 9 10 11 85 chunks +1100 lines, -348 lines 0 comments Download
A + net/spdy/spdy_framer_spdy3_test.cc View 1 2 3 4 5 6 7 8 9 10 11 85 chunks +1100 lines, -348 lines 0 comments Download
M net/spdy/spdy_framer_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -1871 lines 0 comments Download
M net/spdy/spdy_http_stream_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -16 lines 0 comments Download
M net/spdy/spdy_http_stream_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -0 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy21_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +20 lines, -26 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +20 lines, -38 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +24 lines, -29 lines 0 comments Download
M net/spdy/spdy_protocol.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 chunks +247 lines, -57 lines 0 comments Download
A + net/spdy/spdy_protocol_spdy2_test.cc View 1 2 3 4 5 6 7 8 9 10 16 chunks +52 lines, -53 lines 0 comments Download
A + net/spdy/spdy_protocol_spdy3_test.cc View 1 2 3 4 5 6 7 8 9 10 15 chunks +58 lines, -54 lines 0 comments Download
M net/spdy/spdy_protocol_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -382 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +14 lines, -1 line 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 13 chunks +92 lines, -42 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +16 lines, -18 lines 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +16 lines, -18 lines 0 comments Download
M net/spdy/spdy_settings_storage.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_stream_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M net/spdy/spdy_stream_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -0 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -6 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -6 lines 0 comments Download
M net/tools/flip_server/spdy_interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M net/tools/flip_server/spdy_interface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M net/websockets/websocket_job_spdy2_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M net/websockets/websocket_job_spdy3_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
ramant (doing other things)
Hi Hasan, Ryan and William, The following CL has changes to support SPDY/3. Hasan and ...
8 years, 9 months ago (2012-03-09 06:44:16 UTC) #1
willchan no longer on Chromium
Ryan/Hasan, can you guys take a first pass at this? I'll take a look too ...
8 years, 9 months ago (2012-03-09 17:45:19 UTC) #2
rch (use chromium not google)
Yup, I'm working on the review as we speak! On Fri, Mar 9, 2012 at ...
8 years, 9 months ago (2012-03-09 17:47:47 UTC) #3
ramant (doing other things)
The following TODO came up while discussing the code with jar. One more TODO is ...
8 years, 9 months ago (2012-03-09 18:34:32 UTC) #4
Ryan Hamilton
Your cl is not long enough, please change more files :> Ok, joking aside I ...
8 years, 9 months ago (2012-03-09 19:09:58 UTC) #5
ramant (doing other things)
Hi Ryan, Many many thanks for the code review. There is no difference between versions ...
8 years, 9 months ago (2012-03-10 01:14:09 UTC) #6
ramant (doing other things)
Changed default_protocol_ to default to kProtoUnknown. http://codereview.chromium.org/9618002/diff/21007/net/spdy/spdy_session.cc File net/spdy/spdy_session.cc (right): http://codereview.chromium.org/9618002/diff/21007/net/spdy/spdy_session.cc#newcode275 net/spdy/spdy_session.cc:275: SSLClientSocket::kProtoSPDY2; On 2012/03/10 ...
8 years, 9 months ago (2012-03-10 02:26:20 UTC) #7
Ryan Hamilton
http://codereview.chromium.org/9618002/diff/21007/net/http/http_network_transaction_spdy21_unittest.cc File net/http/http_network_transaction_spdy21_unittest.cc (right): http://codereview.chromium.org/9618002/diff/21007/net/http/http_network_transaction_spdy21_unittest.cc#newcode167 net/http/http_network_transaction_spdy21_unittest.cc:167: SpdySession::set_default_protocol(SSLClientSocket::kProtoSPDY2); On 2012/03/10 01:14:09, ramant wrote: > On 2012/03/09 ...
8 years, 9 months ago (2012-03-10 03:23:02 UTC) #8
ramant (doing other things)
Hi Ryan, Many many thanks for your time (sincerely appreciate it). Made all the changes ...
8 years, 9 months ago (2012-03-10 19:45:28 UTC) #9
Ryan Hamilton
lgtm http://codereview.chromium.org/9618002/diff/31011/net/spdy/spdy_framer.cc File net/spdy/spdy_framer.cc (right): http://codereview.chromium.org/9618002/diff/31011/net/spdy/spdy_framer.cc#newcode75 net/spdy/spdy_framer.cc:75: size_t SpdyFramer::kUncompressedControlFrameBufferInitialSize = 18 + 16; On 2012/03/10 ...
8 years, 9 months ago (2012-03-11 15:52:02 UTC) #10
ramant (doing other things)
Thanks very much Ryan. What you have suggested sounds good to me. Many many thanks ...
8 years, 9 months ago (2012-03-11 20:29:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtenneti@chromium.org/9618002/24076
8 years, 9 months ago (2012-03-12 00:30:19 UTC) #12
commit-bot: I haz the power
Can't apply patch for file net/spdy/spdy_framer_spdy2_test.cc. While running patch -p0 --forward --force; patching file net/spdy/spdy_framer_spdy2_test.cc ...
8 years, 9 months ago (2012-03-12 00:30:32 UTC) #13
ramant (doing other things)
hi willchan, Could you bless the changes in chrome/browser/net area (rch is not in the ...
8 years, 9 months ago (2012-03-12 02:26:33 UTC) #14
hkhalil
lgtm http://codereview.chromium.org/9618002/diff/24076/net/spdy/spdy_framer.cc File net/spdy/spdy_framer.cc (right): http://codereview.chromium.org/9618002/diff/24076/net/spdy/spdy_framer.cc#newcode73 net/spdy/spdy_framer.cc:73: // In addition to the maximum control frame ...
8 years, 9 months ago (2012-03-12 13:40:54 UTC) #15
ramant (doing other things)
Thanks much hkhalil. Fixed the comments. http://codereview.chromium.org/9618002/diff/24076/net/spdy/spdy_framer.cc File net/spdy/spdy_framer.cc (right): http://codereview.chromium.org/9618002/diff/24076/net/spdy/spdy_framer.cc#newcode73 net/spdy/spdy_framer.cc:73: // In addition ...
8 years, 9 months ago (2012-03-12 17:14:29 UTC) #16
willchan no longer on Chromium
The SetSpdySetting vs SetSpdySettings naming was confusing. LGTM though. I'd advise updating the comment at ...
8 years, 9 months ago (2012-03-12 18:19:58 UTC) #17
ramant (doing other things)
Updated the comments. Many many thanks Ryan, Hasan and William for great team work, raman ...
8 years, 9 months ago (2012-03-12 18:28:52 UTC) #18
rch (use chromium not google)
Thanks for all your hard work getting this CL together! On Mon, Mar 12, 2012 ...
8 years, 9 months ago (2012-03-12 18:33:14 UTC) #19
hkhalil
8 years, 9 months ago (2012-03-12 19:14:24 UTC) #20
On Mon, Mar 12, 2012 at 2:33 PM, Ryan Hamilton <rch@google.com> wrote:

> Thanks for all your hard work getting this CL together!


+1

    -Hasan

Powered by Google App Engine
This is Rietveld 408576698