Index: net/filter/filter.h |
diff --git a/net/filter/filter.h b/net/filter/filter.h |
index 70509f4ced58bccd22c6bf479c592ae612445d0f..53d396d1e13e09183a3b6b68157c03eafaea62cf 100644 |
--- a/net/filter/filter.h |
+++ b/net/filter/filter.h |
@@ -38,13 +38,15 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
#include "net/base/net_export.h" |
+#include "net/base/sdch_manager.h" |
class GURL; |
namespace net { |
-class URLRequestContext; |
+class BoundNetLog; |
class IOBuffer; |
+class URLRequestContext; |
//------------------------------------------------------------------------------ |
// Define an interface class that allows access to contextual information |
@@ -105,6 +107,9 @@ class NET_EXPORT_PRIVATE FilterContext { |
// The following method forces the context to emit a specific set of |
// statistics as selected by the argument. |
virtual void RecordPacketStats(StatisticSelector statistic) const = 0; |
+ |
+ // Logs SDCH-related error to netlog and adds it to histogram. |
+ virtual void LogSdchProblem(SdchManager::ProblemCodes problem) const = 0; |
}; |
//------------------------------------------------------------------------------ |