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

Unified Diff: content/browser/loader/stream_resource_handler.cc

Issue 2847443002: PlzNavigate: make NavigationResourceHandler a LayeredResourceHandler (Closed)
Patch Set: Addressed comments Created 3 years, 8 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/loader/stream_resource_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/stream_resource_handler.cc
diff --git a/content/browser/loader/stream_resource_handler.cc b/content/browser/loader/stream_resource_handler.cc
index c8ac91809147620b52a77bc7c80051d406b06923..a72addbad5678e9aefe004da3f5266b56a0e0ae2 100644
--- a/content/browser/loader/stream_resource_handler.cc
+++ b/content/browser/loader/stream_resource_handler.cc
@@ -13,12 +13,14 @@ namespace content {
StreamResourceHandler::StreamResourceHandler(net::URLRequest* request,
StreamRegistry* registry,
- const GURL& origin)
+ const GURL& origin,
+ bool immediate_mode)
: ResourceHandler(request) {
writer_.InitializeStream(registry, origin,
base::Bind(&StreamResourceHandler::OutOfBandCancel,
base::Unretained(this), net::ERR_ABORTED,
true /* tell_renderer */));
+ writer_.set_immediate_mode(immediate_mode);
}
StreamResourceHandler::~StreamResourceHandler() {
« no previous file with comments | « content/browser/loader/stream_resource_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698