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

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: Rebaseline 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..44933560d62d8550427c237f95791504ac8e842d
--- /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.
Ryan Sleevi 2015/12/28 19:30:53 It seems like lines 5-10 belong as class-level doc
eustas 2015/12/29 13:15:39 Surely.
+
+#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);
Ryan Sleevi 2015/12/28 19:30:53 Document?
eustas 2015/12/29 13:15:39 Done.
+
+} // namespace net
+
+#endif // NET_FILTER_BROTLI_FILTER_H__

Powered by Google App Engine
This is Rietveld 408576698