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

Unified Diff: net/base/mock_filter_context.cc

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/mock_filter_context.h ('k') | net/base/sdch_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mock_filter_context.cc
diff --git a/net/base/mock_filter_context.cc b/net/base/mock_filter_context.cc
index 6ca541a9718255af9fb8b3d06f0c8b4ba220fe96..70345892c23f52778ccb6c93daa287ac332f5a4e 100644
--- a/net/base/mock_filter_context.cc
+++ b/net/base/mock_filter_context.cc
@@ -6,9 +6,8 @@
namespace net {
-MockFilterContext::MockFilterContext(int buffer_size)
- : buffer_size_(buffer_size),
- is_cached_content_(false),
+MockFilterContext::MockFilterContext()
+ : is_cached_content_(false),
is_download_(false),
is_sdch_response_(false),
response_code_(-1) {
@@ -43,6 +42,4 @@ int64 MockFilterContext::GetByteReadCount() const { return 0; }
int MockFilterContext::GetResponseCode() const { return response_code_; }
-int MockFilterContext::GetInputStreamBufferSize() const { return buffer_size_; }
-
} // namespace net
« no previous file with comments | « net/base/mock_filter_context.h ('k') | net/base/sdch_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698