| Index: net/base/sdch_manager.cc
|
| diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc
|
| index c409bd6726d7059eddc1c4be2f64a53617addb96..87daf004ba3b07e4a5782cdc3041dafb6bc41898 100644
|
| --- a/net/base/sdch_manager.cc
|
| +++ b/net/base/sdch_manager.cc
|
| @@ -17,6 +17,7 @@
|
| #include "base/values.h"
|
| #include "crypto/sha2.h"
|
| #include "net/base/parse_number.h"
|
| +#include "net/base/sdch_net_log_params.h"
|
| #include "net/base/sdch_observer.h"
|
| #include "net/url_request/url_request_http_job.h"
|
|
|
| @@ -442,6 +443,14 @@ SdchProblemCode SdchManager::RemoveSdchDictionary(
|
| }
|
|
|
| // static
|
| +void SdchManager::LogSdchProblem(NetLogWithSource netlog,
|
| + SdchProblemCode problem) {
|
| + SdchManager::SdchErrorRecovery(problem);
|
| + netlog.AddEvent(NetLogEventType::SDCH_DECODING_ERROR,
|
| + base::Bind(&NetLogSdchResourceProblemCallback, problem));
|
| +}
|
| +
|
| +// static
|
| std::unique_ptr<SdchManager::DictionarySet>
|
| SdchManager::CreateEmptyDictionarySetForTesting() {
|
| return std::unique_ptr<DictionarySet>(new DictionarySet);
|
|
|