diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 01:34:35 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-05 01:34:35 +0000 |
commit | 53a3c8fec3cccf37f81e808e4b17188d9c53cd71 (patch) | |
tree | 61a35fb73eae35a4419580239fa467388567a01f /net/base/sdch_manager.h | |
parent | af86029b6974eeecb13f1703f5b59f5152810549 (diff) | |
download | chromium_src-53a3c8fec3cccf37f81e808e4b17188d9c53cd71.zip chromium_src-53a3c8fec3cccf37f81e808e4b17188d9c53cd71.tar.gz chromium_src-53a3c8fec3cccf37f81e808e4b17188d9c53cd71.tar.bz2 |
Prevent SDCH from re-trying to download a dicitionary
Some dicitoaries provided by an SDCH server may be larger than
allowed by Chromium (which holds the dictionary memory-resident).
This CL prevents Chromium from endlessly re-trying such dicitonary loads,
BUG=7722
r=huanr
Review URL: http://codereview.chromium.org/119198
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/sdch_manager.h')
-rw-r--r-- | net/base/sdch_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h index 679d771..a6c7a3b 100644 --- a/net/base/sdch_manager.h +++ b/net/base/sdch_manager.h @@ -100,6 +100,7 @@ class SdchManager { DICTIONARY_IS_TOO_LARGE= 34, DICTIONARY_COUNT_EXCEEDED = 35, DICTIONARY_ALREADY_SCHEDULED_TO_DOWNLOAD = 36, + DICTIONARY_ALREADY_TRIED_TO_DOWNLOAD = 37, // Failsafe hack. ATTEMPT_TO_DECODE_NON_HTTP_DATA = 40, |