Index: net/base/sdch_manager.cc |
diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc |
index b4de9a15d31cd33dc45a0633c473f54bfe4213f4..e57d73cfb24ab437fff321a170dbc42a5c7e067f 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" |
@@ -443,6 +444,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); |