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

Unified Diff: net/filter/filter.cc

Issue 2266693002: Implement "streaming" $i18n{} replacer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compress-webui2
Patch Set: Created 4 years, 4 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/filter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/filter.cc
diff --git a/net/filter/filter.cc b/net/filter/filter.cc
index ea7eca6bc726d8955220fc85120f3f83f3883b6a..a571dbc829eaa7e38dab81119589b8403d8d8318 100644
--- a/net/filter/filter.cc
+++ b/net/filter/filter.cc
@@ -341,6 +341,10 @@ std::string Filter::OrderedFilterList() const {
}
}
+void Filter::TakeNextFilter(std::unique_ptr<Filter> next_filter) {
+ next_filter_ = std::move(next_filter);
+}
+
Filter::Filter(FilterType type_id)
: stream_buffer_(nullptr),
stream_buffer_size_(0),
« no previous file with comments | « net/filter/filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698