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

Unified Diff: net/filter/brotli_source_stream.h

Issue 2329973003: Add net::BrotliSourceStream (Closed)
Patch Set: Sync-ed to 92104a0503b2862f54d60473b59dd1ae145eb22b Created 4 years, 3 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/DEPS ('k') | net/filter/brotli_source_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/brotli_source_stream.h
diff --git a/net/filter/brotli_source_stream.h b/net/filter/brotli_source_stream.h
new file mode 100644
index 0000000000000000000000000000000000000000..d09c3e148d25e2e9ddb077fc9b58e608e5854942
--- /dev/null
+++ b/net/filter/brotli_source_stream.h
@@ -0,0 +1,21 @@
+// Copyright 2016 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.
+
+#ifndef NET_FILTER_BROTLI_SOURCE_STREAM_H_
+#define NET_FILTER_BROTLI_SOURCE_STREAM_H_
+
+#include <memory>
+
+#include "net/base/net_export.h"
+#include "net/filter/filter_source_stream.h"
+#include "net/filter/source_stream.h"
+
+namespace net {
+
+NET_EXPORT_PRIVATE std::unique_ptr<FilterSourceStream> CreateBrotliSourceStream(
+ std::unique_ptr<SourceStream> upstream);
+
+} // namespace net
+
+#endif // NET_FILTER_BROTLI_SOURCE_STREAM_H_
« no previous file with comments | « net/DEPS ('k') | net/filter/brotli_source_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698