diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-02 06:50:03 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-02 06:50:03 +0000 |
commit | d43e0729bbe1028c64ec29387c5a214e5eaa6dc7 (patch) | |
tree | 8c458fa18f2140604a1a241ce858a139b5ed4b7e /net/base/sdch_manager.h | |
parent | 0303f31c7e78cd5e1e54773c50b9216710630cfa (diff) | |
download | chromium_src-d43e0729bbe1028c64ec29387c5a214e5eaa6dc7.zip chromium_src-d43e0729bbe1028c64ec29387c5a214e5eaa6dc7.tar.gz chromium_src-d43e0729bbe1028c64ec29387c5a214e5eaa6dc7.tar.bz2 |
Add to SDCH histogramming
Define a histogram macro that is customizable, and precise, for detailed
examination of performance when needed.
Provide graceful degradation when entire SDCH window is not
received. We now blacklist the site with an exponential back-off.
This allows teh user to hit reload, and get not-SDCH content.
bug=1609306
r=huanr,mbelshe
Review URL: http://codereview.chromium.org/19718
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/sdch_manager.h')
-rw-r--r-- | net/base/sdch_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h index 1363d7ac..0f7cdeb 100644 --- a/net/base/sdch_manager.h +++ b/net/base/sdch_manager.h @@ -107,12 +107,13 @@ class SdchManager { // Problematic decode recovery methods. META_REFRESH_RECOVERY = 70, // Dictionary not found. - // defunct = 71, // ALmost the same as META_REFRESH_UNSUPPORTED. + // defunct = 71, // Almost the same as META_REFRESH_UNSUPPORTED. // defunct = 72, // Almost the same as CACHED_META_REFRESH_UNSUPPORTED. // defunct = 73, // PASSING_THROUGH_NON_SDCH plus DISCARD_TENTATIVE_SDCH. META_REFRESH_UNSUPPORTED = 74, // Unrecoverable error. CACHED_META_REFRESH_UNSUPPORTED = 75, // As above, but pulled from cache. PASSING_THROUGH_NON_SDCH = 76, // Non-html tagged as sdch but malformed. + INCOMPLETE_SDCH_CONTENT = 77, // Last window was not completely decoded. // Common decoded recovery methods. |