|
Clean up filter and content encoding handling
Centralize translation functions (text of "Content-Encoding" to enum)
in filter.cc
Centralize error recovery (for damaged content encoding headers) in filter.cc
Error recovery includes a loss of SDCH encoding headers, plus handling
of Apache server bug with gzip files are tagged as also being gzip encoded.
Centralize and add a pile of unit tests to this filter code.
r=openvcdiff,huanr
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=4004
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+413 lines, -346 lines) |
Patch |
|
M |
base/base_lib.scons
|
View
|
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
base/field_trial.h
|
View
|
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
net/base/bzip2_filter_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
11 chunks |
+31 lines, -42 lines |
0 comments
|
Download
|
|
M |
net/base/filter.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+27 lines, -18 lines |
0 comments
|
Download
|
|
M |
net/base/filter.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+81 lines, -27 lines |
0 comments
|
Download
|
|
A |
net/base/filter_unittest.cc
|
View
|
|
1 chunk |
+133 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/base/gzip_filter_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
12 chunks |
+29 lines, -62 lines |
0 comments
|
Download
|
|
M |
net/base/sdch_filter.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
net/base/sdch_filter_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
15 chunks |
+30 lines, -91 lines |
0 comments
|
Download
|
|
M |
net/base/sdch_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/base/sdch_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
net/build/net_unittests.vcproj
|
View
|
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/net_unittests.scons
|
View
|
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_http_job.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
net/url_request/url_request_http_job.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+41 lines, -80 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_job.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
net/url_request/url_request_job.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|