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

Issue 2334773002: Add net::GzipSourceStream (Closed)

Created:
4 years, 3 months ago by xunjieli
Modified:
4 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add net::GzipSourceStream This CL adds a net::GzipSourceStream which implements net::FilterSourceStream to do gzip decoding. This is a part of the efforts to convert net::Filter into a pull-based interface. See the linked bug for more details. BUG=474859 Committed: https://crrev.com/89be8ae4a98355e81372cc35dab5e125913c5e3f Cr-Commit-Position: refs/heads/master@{#421314}

Patch Set 1 #

Patch Set 2 : self review sync-ed to r417929 #

Total comments: 20

Patch Set 3 : address comments and rebased onto CL 2338043002 #

Total comments: 26

Patch Set 4 : Addressed Randy's comments and synced to r419441 #

Total comments: 14

Patch Set 5 : Address Randy's comments (synced to 92104a0503b2862f54d60473b59dd1ae145eb22b) #

Total comments: 14

Patch Set 6 : Address Randy's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+749 lines, -0 lines) Patch
A net/filter/gzip_source_stream.h View 1 2 3 4 5 1 chunk +105 lines, -0 lines 0 comments Download
A net/filter/gzip_source_stream.cc View 1 2 3 4 5 1 chunk +221 lines, -0 lines 0 comments Download
A net/filter/gzip_source_stream_unittest.cc View 1 2 3 4 5 1 chunk +420 lines, -0 lines 0 comments Download
M net/net.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 39 (24 generated)
xunjieli
Randy and Matt: PTAL. Thanks.
4 years, 3 months ago (2016-09-12 15:01:15 UTC) #2
Randy Smith (Not in Mondays)
First pass. https://codereview.chromium.org/2334773002/diff/20001/net/filter/gzip_source_stream.cc File net/filter/gzip_source_stream.cc (right): https://codereview.chromium.org/2334773002/diff/20001/net/filter/gzip_source_stream.cc#newcode99 net/filter/gzip_source_stream.cc:99: // synchronously. If this happens, return right ...
4 years, 3 months ago (2016-09-12 20:54:01 UTC) #8
xunjieli
Thanks for the review! PTAL. I have uploaded a new patch to address the comments. ...
4 years, 3 months ago (2016-09-14 16:44:02 UTC) #9
Randy Smith (Not in Mondays)
Next pass. The biggest thing is wanting to explore ways of simplifying the state transitions ...
4 years, 3 months ago (2016-09-14 22:25:24 UTC) #10
xunjieli
Thanks for the thorough review and thanks for being incredibly patient with this CL! I ...
4 years, 3 months ago (2016-09-19 13:57:03 UTC) #15
Randy Smith (Not in Mondays)
Next round of comments :-}. And thank you for *your* patience--I feel like i haven't ...
4 years, 3 months ago (2016-09-21 20:57:06 UTC) #16
xunjieli
Thanks for the review! The code looks much better after applying the suggestions. https://codereview.chromium.org/2334773002/diff/40001/net/filter/gzip_source_stream.cc File ...
4 years, 3 months ago (2016-09-22 17:20:50 UTC) #20
mmenke
I'm going to defer to Randy on this one.
4 years, 3 months ago (2016-09-22 17:29:29 UTC) #21
Randy Smith (Not in Mondays)
Next round. I'm sorry about the multiple rounds, but I think we're getting pretty close ...
4 years, 2 months ago (2016-09-23 20:53:48 UTC) #25
xunjieli
Thanks a lot for the review! I am embarrassed at how many bugs there are ...
4 years, 2 months ago (2016-09-26 15:29:43 UTC) #27
Randy Smith (Not in Mondays)
On 2016/09/26 15:29:43, xunjieli wrote: > Thanks a lot for the review! I am embarrassed ...
4 years, 2 months ago (2016-09-27 19:03:37 UTC) #32
xunjieli
Thanks a lot for the review! Much appreciated.
4 years, 2 months ago (2016-09-27 19:08:13 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2334773002/220001
4 years, 2 months ago (2016-09-27 19:08:48 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:220001)
4 years, 2 months ago (2016-09-27 20:13:39 UTC) #37
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 20:15:25 UTC) #39
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/89be8ae4a98355e81372cc35dab5e125913c5e3f
Cr-Commit-Position: refs/heads/master@{#421314}

Powered by Google App Engine
This is Rietveld 408576698