summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 01:26:40 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 01:26:40 +0000
commit92440e76c3fbda4b98e57f79535cba9a19c30f04 (patch)
treee1f7f934a87d57859232c7a0c7d0f84619119ee5 /net
parent26667b335d5f403792a621524e5e6ccfa1a493ad (diff)
downloadchromium_src-92440e76c3fbda4b98e57f79535cba9a19c30f04.zip
chromium_src-92440e76c3fbda4b98e57f79535cba9a19c30f04.tar.gz
chromium_src-92440e76c3fbda4b98e57f79535cba9a19c30f04.tar.bz2
Update to version 26 of open-vcdiff (underpinnings for SDCH decoder)
This supports a restricted memory model, that does not require the current section (window) of expanded data (from an SDCH decompression) to remain memory resident (for future reference). Also added the change to tell vcdiff that Chrome only supports the more memory effecient mode. r=openvcdiff Review URL: http://codereview.chromium.org/66070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/sdch_filter.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/sdch_filter.cc b/net/base/sdch_filter.cc
index 1cea7fc0..a778f59 100644
--- a/net/base/sdch_filter.cc
+++ b/net/base/sdch_filter.cc
@@ -408,6 +408,7 @@ Filter::FilterStatus SdchFilter::InitializeDictionary() {
}
dictionary_ = dictionary;
vcdiff_streaming_decoder_.reset(new open_vcdiff::VCDiffStreamingDecoder);
+ vcdiff_streaming_decoder_->SetAllowVcdTarget(false);
vcdiff_streaming_decoder_->StartDecoding(dictionary_->text().data(),
dictionary_->text().size());
decoding_status_ = DECODING_IN_PROGRESS;