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

Unified Diff: content/test/test_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/test/test_navigation_url_loader_delegate.h
diff --git a/content/test/test_navigation_url_loader_delegate.h b/content/test/test_navigation_url_loader_delegate.h
index cf80aeee2caa804ec8ef6977845c3cdb78ab14e4..bafa5e5f046041f8b142129968969774e5c8193e 100644
--- a/content/test/test_navigation_url_loader_delegate.h
+++ b/content/test/test_navigation_url_loader_delegate.h
@@ -54,11 +54,11 @@ class TestNavigationURLLoaderDelegate : 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 in_cache, int net_error) override;
void OnRequestStarted(base::TimeTicks timestamp) override;

Powered by Google App Engine
This is Rietveld 408576698