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

Unified Diff: content/test/test_navigation_url_loader.cc

Issue 2537593002: PlzNavigate: Pass move information along with the response started notification for navigation requ… (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/test/test_navigation_url_loader.cc
diff --git a/content/test/test_navigation_url_loader.cc b/content/test/test_navigation_url_loader.cc
index 7fed5190d59434e99c4ea542f0934d37859d2b87..026778e047545f357156925efc7a3393ae64e31b 100644
--- a/content/test/test_navigation_url_loader.cc
+++ b/content/test/test_navigation_url_loader.cc
@@ -7,6 +7,7 @@
#include <utility>
#include "content/browser/loader/navigation_url_loader_delegate.h"
+#include "content/public/browser/global_request_id.h"
#include "content/public/browser/navigation_data.h"
#include "content/public/browser/ssl_status.h"
#include "content/public/browser/stream_handle.h"
@@ -56,7 +57,8 @@ void TestNavigationURLLoader::CallOnResponseStarted(
std::unique_ptr<StreamHandle> body,
std::unique_ptr<NavigationData> navigation_data) {
delegate_->OnResponseStarted(response, std::move(body), SSLStatus(),
- std::move(navigation_data));
+ std::move(navigation_data), GlobalRequestID(),
+ false, false);
}
TestNavigationURLLoader::~TestNavigationURLLoader() {}
« no previous file with comments | « content/browser/loader/navigation_url_loader_impl_core.cc ('k') | content/test/test_navigation_url_loader_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698