| Index: content/browser/frame_host/navigation_request.cc
|
| diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
|
| index 027ba75898754583eb4776e9d8c522cbd309fb98..7edc61fddbf8d3ccde969c5abb4c5fee2481e753 100644
|
| --- a/content/browser/frame_host/navigation_request.cc
|
| +++ b/content/browser/frame_host/navigation_request.cc
|
| @@ -281,6 +281,12 @@ void NavigationRequest::OnRequestFailed(bool has_stale_copy_in_cache,
|
| }
|
|
|
| void NavigationRequest::OnRequestStarted(base::TimeTicks timestamp) {
|
| + if (frame_tree_node_->IsMainFrame()) {
|
| + TRACE_EVENT_ASYNC_END_WITH_TIMESTAMP0(
|
| + "navigation", "Navigation timeToNetworkStack", navigation_handle_.get(),
|
| + timestamp.ToInternalValue());
|
| + }
|
| +
|
| frame_tree_node_->navigator()->LogResourceRequestTime(timestamp,
|
| common_params_.url);
|
| }
|
|
|