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

Unified Diff: content/test/test_navigation_url_loader_delegate.cc

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.cc
diff --git a/content/test/test_navigation_url_loader_delegate.cc b/content/test/test_navigation_url_loader_delegate.cc
index 738166da7d1b9b6bbb33aeb451ecd73d0b7fe785..8e3751b5c2f324d00afe7152581132f7f6498e52 100644
--- a/content/test/test_navigation_url_loader_delegate.cc
+++ b/content/test/test_navigation_url_loader_delegate.cc
@@ -58,7 +58,8 @@ void TestNavigationURLLoaderDelegate::OnResponseStarted(
const scoped_refptr<ResourceResponse>& response,
std::unique_ptr<StreamHandle> body,
const SSLStatus& ssl_status,
- std::unique_ptr<NavigationData> navigation_data) {
+ std::unique_ptr<NavigationData> navigation_data,
+ bool is_download) {
response_ = response;
body_ = std::move(body);
ASSERT_TRUE(response_started_);

Powered by Google App Engine
This is Rietveld 408576698