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

Unified Diff: net/base/sdch_filter.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/mock_filter_context.cc ('k') | net/base/sdch_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/sdch_filter.h
diff --git a/net/base/sdch_filter.h b/net/base/sdch_filter.h
index 9eac007d45ec23e2da7476c77eb14cc18faec627..451e918401b970aa107f168897b36efb29f54848 100644
--- a/net/base/sdch_filter.h
+++ b/net/base/sdch_filter.h
@@ -29,8 +29,6 @@ namespace net {
class SdchFilter : public Filter {
public:
- explicit SdchFilter(const FilterContext& filter_context);
-
virtual ~SdchFilter();
// Initializes filter decoding mode and internal control blocks.
@@ -55,6 +53,10 @@ class SdchFilter : public Filter {
PASS_THROUGH, // Non-sdch content being passed without alteration.
};
+ // Only to be instantiated by Filter::Factory.
+ explicit SdchFilter(const FilterContext& filter_context);
+ friend class Filter;
+
// Identify the suggested dictionary, and initialize underlying decompressor.
Filter::FilterStatus InitializeDictionary();
« no previous file with comments | « net/base/mock_filter_context.cc ('k') | net/base/sdch_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698