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

Unified Diff: net/filter/brotli_filter.h

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nit Created 5 years 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/filter/brotli_filter.h
diff --git a/net/filter/brotli_filter.h b/net/filter/brotli_filter.h
new file mode 100644
index 0000000000000000000000000000000000000000..068f4d1d159a54b8a649a7a70ce7c3c49d98deae
--- /dev/null
+++ b/net/filter/brotli_filter.h
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// BrotliFilter applies Brotli content decoding to a data
+// stream. Brotli format specification:
+// http://www.ietf.org/id/draft-alakuijala-brotli
+//
+// BrotliFilter is a subclass of Filter. See the latter's header file filter.h
+// for sample usage.
+
+#ifndef NET_FILTER_BROTLI_FILTER_H_
+#define NET_FILTER_BROTLI_FILTER_H_
+
+#include "net/filter/filter.h"
+
+namespace net {
+
+Filter* CreateBrotliFilter(Filter::FilterType type_id, int buffer_size);
+
+} // namespace net
+
+#endif // NET_FILTER_BROTLI_FILTER_H__

Powered by Google App Engine
This is Rietveld 408576698