summaryrefslogtreecommitdiffstats
path: root/net/base/sdch_manager.h
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 18:24:02 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 18:24:02 +0000
commit625edd6ec115e7de3dd1e7d1e6f20f934b3cdcfe (patch)
tree8f048d6f8dfe551d94b836a64765e6305378b7d9 /net/base/sdch_manager.h
parentfc9675bc6242147ed560bc2a1eb7e9cda5f635d0 (diff)
downloadchromium_src-625edd6ec115e7de3dd1e7d1e6f20f934b3cdcfe.zip
chromium_src-625edd6ec115e7de3dd1e7d1e6f20f934b3cdcfe.tar.gz
chromium_src-625edd6ec115e7de3dd1e7d1e6f20f934b3cdcfe.tar.bz2
Correct enums in SDCH problem codes
r=huanr Review URL: http://codereview.chromium.org/28123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10350 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/sdch_manager.h')
-rw-r--r--net/base/sdch_manager.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h
index 023175c..f622236 100644
--- a/net/base/sdch_manager.h
+++ b/net/base/sdch_manager.h
@@ -25,6 +25,7 @@
#include <string>
#include "base/ref_counted.h"
+#include "base/scoped_ptr.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
@@ -60,10 +61,6 @@ class SdchManager {
ADDED_CONTENT_ENCODING = 1,
FIXED_CONTENT_ENCODING = 2,
FIXED_CONTENT_ENCODINGS = 3,
- // Content encoding correction when we're not even tagged as HTML!?!
- BINARY_ADDED_CONTENT_ENCODING = 4,
- BINARY_FIXED_CONTENT_ENCODING = 5,
- BINARY_FIXED_CONTENT_ENCODINGS = 6,
// Content decoding errors.
DECODE_HEADER_ERROR = 4,
@@ -72,6 +69,11 @@ class SdchManager {
// More content-encoding correction problems.
OPTIONAL_GUNZIP_ENCODING_ADDED = 6,
+ // Content encoding correction when we're not even tagged as HTML!?!
+ BINARY_ADDED_CONTENT_ENCODING = 7,
+ BINARY_FIXED_CONTENT_ENCODING = 8,
+ BINARY_FIXED_CONTENT_ENCODINGS = 9,
+
// Dictionary selection for use problems.
DICTIONARY_FOUND_HAS_WRONG_DOMAIN = 10,
DICTIONARY_FOUND_HAS_WRONG_PORT_LIST = 11,