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

Unified Diff: content/browser/frame_host/navigation_request.cc

Issue 874353003: New TimeToFirstURLJob* navigation metrics now work with PlzNavigate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index 34647b93f93e788ec9e81f797a86526d1bdf3da4..6dbb2eee16c88c0de0d91ffd91970bde5ebb421a 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -108,7 +108,11 @@ void NavigationRequest::OnRequestFailed(int net_error) {
DCHECK(state_ == STARTED);
state_ = FAILED;
// TODO(davidben): Network failures should display a network error page.
- NOTIMPLEMENTED();
+ NOTIMPLEMENTED() << " where net_error=" << net_error;
carlosk 2015/01/26 19:54:01 Added this little extra logging to help with debug
+}
+
+void NavigationRequest::AboutToBeginNavigation(base::TimeTicks timestamp) {
+ frame_tree_node_->navigator()->LogAboutToBeginNavigation(timestamp);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698