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

Unified Diff: content/browser/frame_host/navigation_request.h

Issue 2549373004: PlzNavigate: Call NavigationHandle::WillProcessResponse for 204/205s (Closed)
Patch Set: Created 4 years 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: content/browser/frame_host/navigation_request.h
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index 555da9b04f98cce778ee896412c48e2714042d7c..ca081d6f4cac622cf8ebb7858f2e3000d4c2340d 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -221,6 +221,10 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
bool is_view_source_;
int bindings_;
+ // Whether the navigation should be sent to a renderer. This is true, except
+ // for 204/205 responses and downloads.
+ bool response_should_be_rendered_;
+
// The type of SiteInstance associated with this navigation.
AssociatedSiteInstanceType associated_site_instance_type_;

Powered by Google App Engine
This is Rietveld 408576698