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

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: New approach: FactoryForTests 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
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);
jar (doing other things) 2011/03/01 22:44:03 The moving of these constructors to being private
+ friend class Filter;
+
// Identify the suggested dictionary, and initialize underlying decompressor.
Filter::FilterStatus InitializeDictionary();

Powered by Google App Engine
This is Rietveld 408576698