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

Unified Diff: net/filter/brotli_stream_source.h

Issue 1662763002: [ON HOLD] Implement pull-based design for content decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile on mac Created 4 years, 5 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/filter/brotli_stream_source.h
diff --git a/net/filter/brotli_stream_source.h b/net/filter/brotli_stream_source.h
new file mode 100644
index 0000000000000000000000000000000000000000..2188cff38b0571a5b37e2e49eda0454a542a485a
--- /dev/null
+++ b/net/filter/brotli_stream_source.h
@@ -0,0 +1,23 @@
+// 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_STREAM_SOURCE_H__
+#define NET_FILTER_BROTLI_STREAM_SOURCE_H__
mmenke 2016/07/21 18:14:08 Style is just to use one underscore in header guar
xunjieli 2016/07/27 20:32:01 Done. Thanks for catching it. Probably a remnant o
+
+#include <memory>
+
+#include "base/macros.h"
mmenke 2016/07/21 18:14:08 Not used here. Move to the cc file?
xunjieli 2016/07/27 20:32:01 Done.
+#include "net/base/net_export.h"
+#include "net/filter/filter_stream_source.h"
+#include "net/filter/stream_source.h"
+#include "third_party/brotli/dec/decode.h"
mmenke 2016/07/21 18:14:08 Not used here, move to the cc file?
xunjieli 2016/07/27 20:32:01 Done.
+
+namespace net {
+
+NET_EXPORT_PRIVATE std::unique_ptr<FilterStreamSource> CreateBrotliStreamSource(
+ std::unique_ptr<StreamSource> previous);
+
+} // namespace net
+
+#endif // NET_FILTER_BROTLI_STREAM_SOURCE_H__

Powered by Google App Engine
This is Rietveld 408576698