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

Unified Diff: net/base/mock_filter_context.h

Issue 6516025: Remove GetInputStreamBufferSize() method from FilterContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add some sanity checks Created 9 years, 10 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
« no previous file with comments | « net/base/gzip_filter_unittest.cc ('k') | net/base/mock_filter_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mock_filter_context.h
diff --git a/net/base/mock_filter_context.h b/net/base/mock_filter_context.h
index 53c63eca88d4a805917691cc6d5e5a52732859aa..e04a551958c18ad587b309eba0cd9f9ecc37b12f 100644
--- a/net/base/mock_filter_context.h
+++ b/net/base/mock_filter_context.h
@@ -15,10 +15,9 @@ namespace net {
class MockFilterContext : public FilterContext {
public:
- explicit MockFilterContext(int buffer_size);
+ MockFilterContext();
virtual ~MockFilterContext();
- void SetBufferSize(int buffer_size) { buffer_size_ = buffer_size; }
void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; }
void SetURL(const GURL& gurl) { gurl_ = gurl; }
void SetRequestTime(const base::Time time) { request_time_ = time; }
@@ -52,9 +51,6 @@ class MockFilterContext : public FilterContext {
virtual int GetResponseCode() const;
- // What is the desirable input buffer size for these filters?
- virtual int GetInputStreamBufferSize() const;
-
virtual void RecordPacketStats(StatisticSelector statistic) const {}
private:
« no previous file with comments | « net/base/gzip_filter_unittest.cc ('k') | net/base/mock_filter_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698