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

Unified Diff: content/browser/loader/navigation_url_loader_impl.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/browser/loader/navigation_url_loader_impl.cc
diff --git a/content/browser/loader/navigation_url_loader_impl.cc b/content/browser/loader/navigation_url_loader_impl.cc
index ab4db49279fb9489b0309624ec0e881f6dfebf85..e889f248752c345fb6a15883154f7e31ced2855f 100644
--- a/content/browser/loader/navigation_url_loader_impl.cc
+++ b/content/browser/loader/navigation_url_loader_impl.cc
@@ -15,6 +15,7 @@
#include "content/browser/service_worker/service_worker_navigation_handle.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/global_request_id.h"
#include "content/public/browser/navigation_data.h"
#include "content/public/browser/navigation_ui_data.h"
#include "content/public/browser/stream_handle.h"
@@ -87,11 +88,15 @@ void NavigationURLLoaderImpl::NotifyResponseStarted(
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,
+ const GlobalRequestID& request_id,
+ bool is_download,
+ bool is_stream) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
delegate_->OnResponseStarted(response, std::move(body), ssl_status,
- std::move(navigation_data));
+ std::move(navigation_data), request_id,
+ is_download, is_stream);
}
void NavigationURLLoaderImpl::NotifyRequestFailed(bool in_cache,
« no previous file with comments | « content/browser/loader/navigation_url_loader_impl.h ('k') | content/browser/loader/navigation_url_loader_impl_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698