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

Unified Diff: content/browser/loader/navigation_url_loader_delegate.h

Issue 2510083003: PlzNavigate: properly update NavigationHandle for 204/205 and download responses (Closed)
Patch Set: . Created 4 years, 1 month 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/loader/navigation_url_loader_delegate.h
diff --git a/content/browser/loader/navigation_url_loader_delegate.h b/content/browser/loader/navigation_url_loader_delegate.h
index ac523234c202f4836a2782069f97f6d5f6c2262f..ed299679501f31f62f9191777035014d880d24b9 100644
--- a/content/browser/loader/navigation_url_loader_delegate.h
+++ b/content/browser/loader/navigation_url_loader_delegate.h
@@ -38,7 +38,8 @@ class CONTENT_EXPORT NavigationURLLoaderDelegate {
const scoped_refptr<ResourceResponse>& response,
std::unique_ptr<StreamHandle> body_stream,
const SSLStatus& ssl_status,
- std::unique_ptr<NavigationData> navigation_data) = 0;
+ std::unique_ptr<NavigationData> navigation_data,
+ bool is_download) = 0;
// Called if the request fails before receving a response. |net_error| is a
// network error code for the failure. |has_stale_copy_in_cache| is true if

Powered by Google App Engine
This is Rietveld 408576698