diff options
author | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-27 17:39:28 +0000 |
---|---|---|
committer | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-27 17:39:28 +0000 |
commit | 423041b0a7182411149472ae1e7fd87317173097 (patch) | |
tree | 494092141aa32f87e6bf02159579ae590d0a3fbf /net/build | |
parent | c05ef7e4fe5aaadb4193217209a11440bd4d2c27 (diff) | |
download | chromium_src-423041b0a7182411149472ae1e7fd87317173097.zip chromium_src-423041b0a7182411149472ae1e7fd87317173097.tar.gz chromium_src-423041b0a7182411149472ae1e7fd87317173097.tar.bz2 |
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
Review URL: http://codereview.chromium.org/8018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/build')
-rw-r--r-- | net/build/net_unittests.vcproj | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net/build/net_unittests.vcproj b/net/build/net_unittests.vcproj index a52ce6e..f3d2936 100644 --- a/net/build/net_unittests.vcproj +++ b/net/build/net_unittests.vcproj @@ -227,15 +227,15 @@ Name="http" > <File - RelativePath="..\http\http_auth_unittest.cc" + RelativePath="..\http\http_auth_handler_basic_unittest.cc" > </File> <File - RelativePath="..\http\http_auth_handler_basic_unittest.cc" + RelativePath="..\http\http_auth_handler_digest_unittest.cc" > </File> <File - RelativePath="..\http\http_auth_handler_digest_unittest.cc" + RelativePath="..\http\http_auth_unittest.cc" > </File> <File @@ -327,6 +327,10 @@ > </File> <File + RelativePath="..\base\filter_unittest.cc" + > + </File> + <File RelativePath="..\base\gzip_filter_unittest.cc" > </File> |