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

Issue 92006: Implement a parser that parses the "Range" HTTP header... (Closed)

Created:
11 years, 8 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, ralphl, fbarchard
Visibility:
Public.

Description

Implement a parser that parses the "Range" HTTP header Parses "Range" HTTP request header so this request information can be used in URLRequestFileJob and HttpCache. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14784

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 23

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 31

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 16

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 1

Patch Set 14 : '' #

Patch Set 15 : '' #

Total comments: 2

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -2 lines) Patch
A net/http/http_byte_range.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +58 lines, -0 lines 0 comments Download
A net/http/http_byte_range.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +76 lines, -0 lines 0 comments Download
A net/http/http_byte_range_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +78 lines, -0 lines 0 comments Download
M net/http/http_util.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -1 line 0 comments Download
M net/http/http_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +93 lines, -0 lines 0 comments Download
M net/http/http_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +134 lines, -1 line 0 comments Download
M net/net.gyp View 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Alpha Left Google
11 years, 8 months ago (2009-04-22 09:32:19 UTC) #1
Alpha Left Google
On 2009/04/22 09:32:19, Alpha wrote: > Oops, it should be the "Range" header.
11 years, 8 months ago (2009-04-22 09:38:29 UTC) #2
awong
Looks pretty solid. Here's some comments. Also, there seem to be some lint warnings. Could ...
11 years, 8 months ago (2009-04-22 18:17:22 UTC) #3
Alpha Left Google
http://codereview.chromium.org/92006/diff/1034/1039 File net/http/http_byte_range.cc (right): http://codereview.chromium.org/92006/diff/1034/1039#newcode42 Line 42: first_byte_position_ >= 0 && last_byte_position_ >= 0; On ...
11 years, 8 months ago (2009-04-22 19:09:24 UTC) #4
awong
2 more comments. http://codereview.chromium.org/92006/diff/49/55 File net/http/http_byte_range.h (right): http://codereview.chromium.org/92006/diff/49/55#newcode19 Line 19: // and destructor untouched. Instead ...
11 years, 8 months ago (2009-04-22 23:03:37 UTC) #5
rvargas (doing something else)
http://codereview.chromium.org/92006/diff/49/54 File net/http/http_byte_range.cc (right): http://codereview.chromium.org/92006/diff/49/54#newcode8 Line 8: const int kPositionNotSpecified = -1; nit: empty lines ...
11 years, 8 months ago (2009-04-22 23:36:08 UTC) #6
Alpha Left Google
http://codereview.chromium.org/92006/diff/49/54 File net/http/http_byte_range.cc (right): http://codereview.chromium.org/92006/diff/49/54#newcode8 Line 8: const int kPositionNotSpecified = -1; On 2009/04/22 23:36:08, ...
11 years, 8 months ago (2009-04-23 23:35:21 UTC) #7
scherkus (not reviewing)
few nits http://codereview.chromium.org/92006/diff/3005/3010 File net/http/http_byte_range.cc (right): http://codereview.chromium.org/92006/diff/3005/3010#newcode35 Line 35: bool HttpByteRange::IsValid() const { it looks ...
11 years, 8 months ago (2009-04-24 18:29:10 UTC) #8
rvargas (doing something else)
Also, make sure you fix the lint warnings. http://codereview.chromium.org/92006/diff/49/51 File net/http/http_util.cc (right): http://codereview.chromium.org/92006/diff/49/51#newcode217 Line 217: ...
11 years, 8 months ago (2009-04-24 19:01:01 UTC) #9
Alpha Left Google
http://codereview.chromium.org/92006/diff/3005/3010 File net/http/http_byte_range.cc (right): http://codereview.chromium.org/92006/diff/3005/3010#newcode35 Line 35: bool HttpByteRange::IsValid() const { On 2009/04/24 18:29:10, scherkus ...
11 years, 8 months ago (2009-04-24 19:55:08 UTC) #10
rvargas (doing something else)
http://codereview.chromium.org/92006/diff/3005/3010 File net/http/http_byte_range.cc (right): http://codereview.chromium.org/92006/diff/3005/3010#newcode74 Line 74: return false; On 2009/04/24 19:55:08, Alpha wrote: > ...
11 years, 8 months ago (2009-04-24 20:31:37 UTC) #11
Alpha Left Google
oh, I forgot to fix those lint bugs, they are just newline issues, will fix ...
11 years, 8 months ago (2009-04-25 01:15:47 UTC) #12
Alpha Left Google
Please ignore the lint errors, it's just a lint bug, newline chars are there.
11 years, 8 months ago (2009-04-27 17:46:59 UTC) #13
Alpha Left Google
I updated the unit test only and the expectations since I'm using ValueIterator in the ...
11 years, 8 months ago (2009-04-27 23:12:26 UTC) #14
Alpha Left Google
sorry I overlooked the implied *LWS comment, code updated and unit tests to check for ...
11 years, 8 months ago (2009-04-28 02:20:42 UTC) #15
rvargas (doing something else)
Sorry, one last comment. Just to clarify a little more my comment, I think that ...
11 years, 7 months ago (2009-04-28 18:14:06 UTC) #16
Alpha Left Google
On 2009/04/28 18:14:06, rvargas wrote: > Sorry, one last comment. > > Just to clarify ...
11 years, 7 months ago (2009-04-28 18:49:20 UTC) #17
rvargas (doing something else)
http://codereview.chromium.org/92006/diff/5015/4040 File net/http/http_byte_range.h (right): http://codereview.chromium.org/92006/diff/5015/4040#newcode49 Line 49: bool SetInstanceSize(int64 size); Given that there is an ...
11 years, 7 months ago (2009-04-28 19:08:00 UTC) #18
Alpha Left Google
http://codereview.chromium.org/92006/diff/5015/4040 File net/http/http_byte_range.h (right): http://codereview.chromium.org/92006/diff/5015/4040#newcode49 Line 49: bool SetInstanceSize(int64 size); On 2009/04/28 19:08:00, rvargas wrote: ...
11 years, 7 months ago (2009-04-28 19:21:58 UTC) #19
rvargas (doing something else)
11 years, 7 months ago (2009-04-28 19:39:05 UTC) #20
LGTM

Powered by Google App Engine
This is Rietveld 408576698