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

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: Create Dictionary JSON directly in SdchManager::SdchInfoToValue Created 6 years, 4 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..3840ba8f5ddb7e32257c7bc65bcf2fd1477a3899 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,8 @@ class MockFilterContext : public FilterContext {
virtual void RecordPacketStats(StatisticSelector statistic) const OVERRIDE {}
+ virtual const BoundNetLog& GetNetLog() const OVERRIDE;
+
private:
int buffer_size_;
std::string mime_type_;
@@ -79,6 +82,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