| Index: net/base/sdch_manager.h
|
| diff --git a/net/base/sdch_manager.h b/net/base/sdch_manager.h
|
| index 85633f58488286c9d0da92374f5c9006849ecdc7..9ca3a76e077082b46a2ba6f99a3b90a3a67f0ebf 100644
|
| --- a/net/base/sdch_manager.h
|
| +++ b/net/base/sdch_manager.h
|
| @@ -237,7 +237,7 @@ class NET_EXPORT SdchManager : public NON_EXPORTED_BASE(base::NonThreadSafe) {
|
| };
|
|
|
| SdchManager();
|
| - ~SdchManager();
|
| + virtual ~SdchManager();
|
|
|
| // Clear data (for browser data removal).
|
| void ClearData();
|
| @@ -304,8 +304,9 @@ class NET_EXPORT SdchManager : public NON_EXPORTED_BASE(base::NonThreadSafe) {
|
| // Add an SDCH dictionary to our list of availible dictionaries. This addition
|
| // will fail (return false) if addition is illegal (data in the dictionary is
|
| // not acceptable from the dictionary_url; dictionary already added, etc.).
|
| - bool AddSdchDictionary(const std::string& dictionary_text,
|
| - const GURL& dictionary_url);
|
| + // virtual for testing.
|
| + virtual bool AddSdchDictionary(const std::string& dictionary_text,
|
| + const GURL& dictionary_url);
|
|
|
| // Find the vcdiff dictionary (the body of the sdch dictionary that appears
|
| // after the meta-data headers like Domain:...) with the given |server_hash|
|
|
|