diff options
author | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 19:24:40 +0000 |
---|---|---|
committer | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 19:24:40 +0000 |
commit | f74252d3754d1d58b6f97cb3cd89b47d151cd88d (patch) | |
tree | 487247718c1268c2061eafc24e132ed3eda333c6 /chrome/browser/keychain_mock_mac.h | |
parent | eeb0af285a61c37c0fbcb046174bf29741324a08 (diff) | |
download | chromium_src-f74252d3754d1d58b6f97cb3cd89b47d151cd88d.zip chromium_src-f74252d3754d1d58b6f97cb3cd89b47d151cd88d.tar.gz chromium_src-f74252d3754d1d58b6f97cb3cd89b47d151cd88d.tar.bz2 |
Remove GetInputStreamBufferSize() method from FilterContext.
This virtual method, implemented only by URLRequestJob and MockFilterContext,
was only used for testing purposes. The kFilterBufSize constant now lives
in filter.cc (the only place it was used), and for the few tests that needed
to override the buffer size, I've added a test-only method in filter.h.
The result is a smaller interface surface in URLRequestJob and simpler tests for most cases in gzip_filter_unittest.cc and sdch_filter_unittest.cc. I've done some further refactoring of the former to remove redundancy (most of Filter's complexity is exercised only in the SDCH test).
Review URL: http://codereview.chromium.org/6516025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/keychain_mock_mac.h')
0 files changed, 0 insertions, 0 deletions