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

Issue 13990005: [SPDY] Replace SpdyIOBuffer with new SpdyBuffer class (Closed)

Created:
7 years, 8 months ago by akalin
Modified:
7 years, 8 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

[SPDY] Replace SpdyIOBuffer with new SpdyBuffer class Use SpdyBuffer for both SPDY reads and writes. A future CL will add hooks to SpdyBuffer so that we keep track of flow control windows properly. Replace SpdyFrameProducer with SpdyBufferProducer. Also introduce new SpdyReadQueue class for delegates of SpdyStream to use. BUG=176592 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194560 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194564

Patch Set 1 #

Total comments: 13

Patch Set 2 : Address comments #

Patch Set 3 : Address comments #

Patch Set 4 : Fix memory-stomping bug #

Patch Set 5 : Fix windows warnings #

Patch Set 6 : Fix missing include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+775 lines, -421 lines) Patch
M net/net.gyp View 1 2 3 4 5 4 chunks +8 lines, -4 lines 0 comments Download
A net/spdy/spdy_buffer.h View 1 1 chunk +66 lines, -0 lines 0 comments Download
A net/spdy/spdy_buffer.cc View 1 chunk +61 lines, -0 lines 0 comments Download
A net/spdy/spdy_buffer_producer.h View 1 chunk +50 lines, -0 lines 0 comments Download
A net/spdy/spdy_buffer_producer.cc View 1 chunk +27 lines, -0 lines 0 comments Download
A net/spdy/spdy_buffer_unittest.cc View 1 chunk +88 lines, -0 lines 0 comments Download
D net/spdy/spdy_frame_producer.h View 1 chunk +0 lines, -50 lines 0 comments Download
D net/spdy/spdy_frame_producer.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M net/spdy/spdy_http_stream.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_http_stream.cc View 4 chunks +10 lines, -35 lines 0 comments Download
D net/spdy/spdy_io_buffer.h View 1 chunk +0 lines, -56 lines 0 comments Download
D net/spdy/spdy_io_buffer.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.h View 5 chunks +7 lines, -5 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 7 chunks +26 lines, -40 lines 0 comments Download
A net/spdy/spdy_read_queue.h View 1 chunk +51 lines, -0 lines 0 comments Download
A net/spdy/spdy_read_queue.cc View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
A net/spdy/spdy_read_queue_unittest.cc View 1 2 3 4 1 chunk +106 lines, -0 lines 0 comments Download
M net/spdy/spdy_session.h View 1 2 3 4 5 5 chunks +20 lines, -12 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 3 4 5 13 chunks +68 lines, -54 lines 0 comments Download
M net/spdy/spdy_session_spdy2_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/spdy_session_spdy3_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/spdy_stream.h View 5 chunks +9 lines, -7 lines 0 comments Download
M net/spdy/spdy_stream.cc View 1 13 chunks +38 lines, -35 lines 0 comments Download
M net/spdy/spdy_stream_test_util.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_stream_test_util.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M net/spdy/spdy_websocket_stream.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_websocket_stream.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy2_unittest.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M net/spdy/spdy_websocket_stream_spdy3_unittest.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M net/spdy/spdy_write_queue.h View 4 chunks +7 lines, -6 lines 0 comments Download
M net/spdy/spdy_write_queue.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M net/spdy/spdy_write_queue_unittest.cc View 9 chunks +26 lines, -24 lines 0 comments Download
M net/websockets/websocket_job.h View 1 chunk +1 line, -1 line 0 comments Download
M net/websockets/websocket_job.cc View 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
akalin
+rch for review
7 years, 8 months ago (2013-04-16 06:06:13 UTC) #1
Ryan Hamilton
looks good, just a few small comments. https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_buffer.h File net/spdy/spdy_buffer.h (right): https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_buffer.h#newcode20 net/spdy/spdy_buffer.h:20: // SPDY ...
7 years, 8 months ago (2013-04-16 18:44:25 UTC) #2
akalin
PTAL https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_buffer.h File net/spdy/spdy_buffer.h (right): https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_buffer.h#newcode20 net/spdy/spdy_buffer.h:20: // SPDY connection. It is similar to a ...
7 years, 8 months ago (2013-04-16 23:01:46 UTC) #3
Ryan Hamilton
lgtm https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_buffer.h File net/spdy/spdy_buffer.h (right): https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_buffer.h#newcode50 net/spdy/spdy_buffer.h:50: IOBuffer* GetIOBufferForRemainingData(); On 2013/04/16 23:01:46, akalin wrote: > ...
7 years, 8 months ago (2013-04-16 23:34:11 UTC) #4
akalin
On 2013/04/16 23:34:11, Ryan Hamilton wrote: > lgtm > > https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_buffer.h > File net/spdy/spdy_buffer.h (right): ...
7 years, 8 months ago (2013-04-16 23:48:05 UTC) #5
akalin
Committing as soon as trybots pass https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_io_buffer.h File net/spdy/spdy_io_buffer.h (left): https://codereview.chromium.org/13990005/diff/1/net/spdy/spdy_io_buffer.h#oldcode47 net/spdy/spdy_io_buffer.h:47: const scoped_refptr<SpdyStream>& stream() ...
7 years, 8 months ago (2013-04-16 23:48:15 UTC) #6
akalin
The sync_integration_test failures are legit, which is strange since the test sync server doesn't use ...
7 years, 8 months ago (2013-04-17 04:10:59 UTC) #7
akalin
Fixed memory stomper, committing after trybots
7 years, 8 months ago (2013-04-17 05:10:24 UTC) #8
akalin
Committed patchset #5 manually as r194560 (presubmit successful).
7 years, 8 months ago (2013-04-17 09:59:42 UTC) #9
akalin
7 years, 8 months ago (2013-04-17 10:38:48 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 manually as r194564 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698