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

Unified Diff: net/filter/brotli_source_stream_disabled.cc

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/filter/brotli_source_stream.cc ('k') | net/filter/brotli_source_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/brotli_source_stream_disabled.cc
diff --git a/net/filter/source_stream.cc b/net/filter/brotli_source_stream_disabled.cc
similarity index 51%
copy from net/filter/source_stream.cc
copy to net/filter/brotli_source_stream_disabled.cc
index e2c4e6e2539fddfe2a54c19ce35fa39be5b9db4f..986397cb94e44af761f41050e15c116b64f84694 100644
--- a/net/filter/source_stream.cc
+++ b/net/filter/brotli_source_stream_disabled.cc
@@ -2,16 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "net/filter/source_stream.h"
+#include "net/filter/brotli_source_stream.h"
namespace net {
-SourceStream::SourceStream(SourceType type) : type_(type) {}
-
-SourceStream::~SourceStream() {}
-
-std::string SourceStream::Description() const {
- return "";
+std::unique_ptr<FilterSourceStream> CreateBrotliSourceStream(
+ std::unique_ptr<SourceStream> previous) {
+ return nullptr;
}
} // namespace net
« no previous file with comments | « net/filter/brotli_source_stream.cc ('k') | net/filter/brotli_source_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698