| Index: net/base/sdch_manager.h
|
| diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h
|
| index 4f45966dd5bc254f1abce816e675c00a79060233..a5dd21f9346f0cf8e3982a27d96b71dc87fc61fe 100644
|
| --- a/net/base/sdch_manager.h
|
| +++ b/net/base/sdch_manager.h
|
| @@ -251,6 +251,11 @@ class NET_EXPORT SdchManager : public NON_EXPORTED_BASE(base::NonThreadSafe) {
|
|
|
| static bool sdch_enabled() { return g_sdch_enabled_; }
|
|
|
| + // Enables or disables SDCH compression over secure connection.
|
| + static void EnableSecureSchemeSupport(bool enabled);
|
| +
|
| + static bool secure_scheme_supported() { return g_secure_scheme_supported_; }
|
| +
|
| // Briefly prevent further advertising of SDCH on this domain (if SDCH is
|
| // enabled). After enough calls to IsInSupportedDomain() the blacklisting
|
| // will be removed. Additional blacklists take exponentially more calls
|
| @@ -344,6 +349,10 @@ class NET_EXPORT SdchManager : public NON_EXPORTED_BASE(base::NonThreadSafe) {
|
| // Support SDCH compression, by advertising in headers.
|
| static bool g_sdch_enabled_;
|
|
|
| + // Support SDCH compression for HTTPS requests and responses. When supported,
|
| + // HTTPS applicable dictionaries MUST have been acquired securely via HTTPS.
|
| + static bool g_secure_scheme_supported_;
|
| +
|
| // A simple implementation of a RFC 3548 "URL safe" base64 encoder.
|
| static void UrlSafeBase64Encode(const std::string& input,
|
| std::string* output);
|
|
|