diff options
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(); |