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

Unified Diff: net/filter/filter.h

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 | « content/browser/webui/web_ui_data_source_impl.cc ('k') | net/filter/filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/filter.h
diff --git a/net/filter/filter.h b/net/filter/filter.h
index 1940399e06806095796380a91054db20186e7837..3300a2e6d6b20e11cdd0c1916a8226d04ec1ae3b 100644
--- a/net/filter/filter.h
+++ b/net/filter/filter.h
@@ -239,6 +239,10 @@ class NET_EXPORT Filter {
FilterType type() const { return type_id_; }
+ // Sets |next_filter| as the next filter to be run, disconnecting any existing
+ // chain.
+ void TakeNextFilter(std::unique_ptr<Filter> next_filter);
+
protected:
friend class BrotliUnitTest;
friend class GZipUnitTest;
« no previous file with comments | « content/browser/webui/web_ui_data_source_impl.cc ('k') | net/filter/filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698