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

Issue 9293029: net: Introduce SeekableIOBuffer and clean up HttpStreamParser. (Closed)

Created:
8 years, 10 months ago by satorux1
Modified:
8 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

net: Introduce SeekableIOBuffer and clean up HttpStreamParser. Eliminate allocations for DrainableIOBuffer with SeekableIOBuffer. BUG=72001 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120757

Patch Set 1 #

Patch Set 2 : rebase and update comments #

Total comments: 19

Patch Set 3 : address comments #

Patch Set 4 : update some comment #

Total comments: 14

Patch Set 5 : address comments #

Patch Set 6 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -18 lines) Patch
M net/base/io_buffer.h View 1 2 3 4 5 2 chunks +31 lines, -0 lines 0 comments Download
M net/http/http_stream_parser.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M net/http/http_stream_parser.cc View 1 2 3 4 4 chunks +109 lines, -15 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
satorux1
Here you go. A new IOBuffer class is introduced. After all, introducing a new class ...
8 years, 10 months ago (2012-01-31 06:31:33 UTC) #1
wtc
Patch Set 1 LGTM. Please wait for rvargas's review. rvargas: please review this CL. satorux1: ...
8 years, 10 months ago (2012-02-02 20:22:57 UTC) #2
satorux1
wtc, thank you for the valuable feedback. Hope you'll like the updated comments. http://codereview.chromium.org/9293029/diff/5002/net/base/io_buffer.h File ...
8 years, 10 months ago (2012-02-02 22:02:26 UTC) #3
wtc
http://codereview.chromium.org/9293029/diff/5002/net/base/io_buffer.h File net/base/io_buffer.h (right): http://codereview.chromium.org/9293029/diff/5002/net/base/io_buffer.h#newcode166 net/base/io_buffer.h:166: // int bytes_read = some_reader->Read(buf, buf.capacity()); On 2012/02/02 20:22:57, ...
8 years, 10 months ago (2012-02-02 22:32:30 UTC) #4
satorux1
http://codereview.chromium.org/9293029/diff/5002/net/base/io_buffer.h File net/base/io_buffer.h (right): http://codereview.chromium.org/9293029/diff/5002/net/base/io_buffer.h#newcode166 net/base/io_buffer.h:166: // int bytes_read = some_reader->Read(buf, buf.capacity()); On 2012/02/02 22:32:30, ...
8 years, 10 months ago (2012-02-02 22:51:09 UTC) #5
satorux1
rvargas@, please take a look.
8 years, 10 months ago (2012-02-03 01:33:57 UTC) #6
rvargas (doing something else)
I'm having a hard time figuring out what's the best thing to do here. What ...
8 years, 10 months ago (2012-02-03 23:13:34 UTC) #7
satorux1
Ricardo, thank you for the feedback. I was also having hard time how to co-exist ...
8 years, 10 months ago (2012-02-03 23:46:11 UTC) #8
rvargas (doing something else)
LGTM
8 years, 10 months ago (2012-02-06 19:55:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/9293029/9004
8 years, 10 months ago (2012-02-06 20:25:29 UTC) #10
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 10 months ago (2012-02-07 00:22:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/9293029/9004
8 years, 10 months ago (2012-02-07 02:53:47 UTC) #12
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 10 months ago (2012-02-07 06:22:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/9293029/9004
8 years, 10 months ago (2012-02-07 07:16:14 UTC) #14
commit-bot: I haz the power
8 years, 10 months ago (2012-02-07 10:29:34 UTC) #15
Change committed as 120757

Powered by Google App Engine
This is Rietveld 408576698