diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-09-23 16:06:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-09-24 11:41:55 +0000 |
commit | bac1035f131c0b95b75fb39ffd1a39652843de9f (patch) | |
tree | 44839fddbea648d54e4be47bcfbe4a5979bacd29 /chromium/content/browser/frame_host/navigation_request.cc | |
parent | 271a6c3487a14599023a9106329505597638d793 (diff) | |
download | qtwebengine-chromium-bac1035f131c0b95b75fb39ffd1a39652843de9f.tar.gz |
BASELINE: Update Chromium to 77.0.3865.98
Change-Id: Ice85979eb8b64af9a3c649d719bec6ea14ac3bf7
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/content/browser/frame_host/navigation_request.cc')
-rw-r--r-- | chromium/content/browser/frame_host/navigation_request.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/content/browser/frame_host/navigation_request.cc b/chromium/content/browser/frame_host/navigation_request.cc index 4bb7b470e7f..8175ccc7dc7 100644 --- a/chromium/content/browser/frame_host/navigation_request.cc +++ b/chromium/content/browser/frame_host/navigation_request.cc @@ -2048,6 +2048,8 @@ void NavigationRequest::CommitNavigation() { commit_params_.prefetched_signed_exchanges = std::move(subresource_loader_params_->prefetched_signed_exchanges); } + + AddNetworkServiceDebugEvent("COM"); render_frame_host_->CommitNavigation( this, common_params_, commit_params_, response_head_.get(), std::move(response_body_), std::move(url_loader_client_endpoints_), @@ -2107,6 +2109,16 @@ void NavigationRequest::RenderProcessHostDestroyed(RenderProcessHost* host) { ResetExpectedProcess(); } +void NavigationRequest::RenderProcessReady(RenderProcessHost* host) { + AddNetworkServiceDebugEvent("RPR"); +} + +void NavigationRequest::RenderProcessExited( + RenderProcessHost* host, + const ChildProcessTerminationInfo& info) { + AddNetworkServiceDebugEvent("RPE"); +} + void NavigationRequest::UpdateSiteURL( RenderProcessHost* post_redirect_process) { GURL new_site_url = GetSiteForCommonParamsURL(); @@ -2729,6 +2741,7 @@ void NavigationRequest::DidCommitNavigation( bool did_replace_entry, const GURL& previous_url, NavigationType navigation_type) { + AddNetworkServiceDebugEvent("DCN"); common_params_.url = params.url; did_replace_entry_ = did_replace_entry; should_update_history_ = params.should_update_history; @@ -2847,6 +2860,9 @@ void NavigationRequest::ReadyToCommitNavigation(bool is_error) { TRACE_EVENT_ASYNC_STEP_INTO0("navigation", "NavigationHandle", this, "ReadyToCommitNavigation"); + AddNetworkServiceDebugEvent( + std::string("RTCN") + + (render_frame_host_->GetProcess()->IsReady() ? "1" : "0")); handle_state_ = READY_TO_COMMIT; ready_to_commit_time_ = base::TimeTicks::Now(); navigation_handle_->RestartCommitTimeout(); |