summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--DEPS2
-rw-r--r--net/base/sdch_filter.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index b923c30..9f83938 100644
--- a/DEPS
+++ b/DEPS
@@ -13,7 +13,7 @@ deps = {
"http://google-url.googlecode.com/svn/trunk@100",
"src/sdch/open-vcdiff":
- "http://open-vcdiff.googlecode.com/svn/trunk@22",
+ "http://open-vcdiff.googlecode.com/svn/trunk@26",
"src/testing/gtest":
"http://googletest.googlecode.com/svn/trunk@214",
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;