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

Unified Diff: net/base/gzip_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/filter_unittest.cc ('k') | net/base/gzip_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/gzip_filter.h
diff --git a/net/base/gzip_filter.h b/net/base/gzip_filter.h
index b37a5b1dd68c0660a092bdeee1550b87f2608b2e..7496be5d30e880e35798b32f0b1b2907e6c8447e 100644
--- a/net/base/gzip_filter.h
+++ b/net/base/gzip_filter.h
@@ -28,8 +28,6 @@ class GZipHeader;
class GZipFilter : public Filter {
public:
- explicit GZipFilter(const FilterContext& filter_context);
-
virtual ~GZipFilter();
// Initializes filter decoding mode and internal control blocks.
@@ -75,6 +73,10 @@ class GZipFilter : public Filter {
static const int kGZipFooterSize = 8;
+ // Only to be instantiated by Filter::Factory.
+ explicit GZipFilter(const FilterContext& filter_context);
+ friend class Filter;
+
// Parses and verifies the GZip header.
// Upon exit, the function updates gzip_header_status_ accordingly.
//
« no previous file with comments | « net/base/filter_unittest.cc ('k') | net/base/gzip_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698