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

Unified Diff: content/browser/frame_host/navigation_request.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/frame_host/navigation_request.h
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h
index 7d3e82f4c3e75a07deb23f3d5b918508f80eb1bb..dd032ba2a52ba66e38a2be1abcacdb4424ee3797 100644
--- a/content/browser/frame_host/navigation_request.h
+++ b/content/browser/frame_host/navigation_request.h
@@ -170,11 +170,11 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate {
void OnRequestRedirected(
const net::RedirectInfo& redirect_info,
const scoped_refptr<ResourceResponse>& response) override;
- void OnResponseStarted(
- const scoped_refptr<ResourceResponse>& response,
- std::unique_ptr<StreamHandle> body,
- const SSLStatus& ssl_status,
- std::unique_ptr<NavigationData> navigation_data) override;
+ void OnResponseStarted(const scoped_refptr<ResourceResponse>& response,
+ std::unique_ptr<StreamHandle> body,
+ const SSLStatus& ssl_status,
+ std::unique_ptr<NavigationData> navigation_data,
+ bool is_download) override;
void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override;
void OnRequestStarted(base::TimeTicks timestamp) override;

Powered by Google App Engine
This is Rietveld 408576698