Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1122)

Unified Diff: net/filter/filter.h

Issue 423813002: Sdch view for net-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comments and netlog field name Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};
//------------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698