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

Unified Diff: net/filter/mock_filter_context.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/mock_filter_context.h
diff --git a/net/filter/mock_filter_context.h b/net/filter/mock_filter_context.h
index 9bb6235a3a9ab161c08880e1421c9b574078d33b..656345d3a5a39dc2772a3a7cb44c02bcc5b8d989 100644
--- a/net/filter/mock_filter_context.h
+++ b/net/filter/mock_filter_context.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/memory/scoped_ptr.h"
+#include "net/base/net_log.h"
#include "net/filter/filter.h"
#include "url/gurl.h"
@@ -68,6 +69,9 @@ class MockFilterContext : public FilterContext {
virtual void RecordPacketStats(StatisticSelector statistic) const OVERRIDE {}
+ virtual void LogSdchProblem(
+ SdchManager::ProblemCodes problem) const OVERRIDE {}
+
private:
int buffer_size_;
std::string mime_type_;
@@ -79,6 +83,7 @@ class MockFilterContext : public FilterContext {
bool is_sdch_response_;
int response_code_;
scoped_ptr<URLRequestContext> context_;
+ BoundNetLog net_log_;
DISALLOW_COPY_AND_ASSIGN(MockFilterContext);
};

Powered by Google App Engine
This is Rietveld 408576698