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

Unified Diff: chrome/browser/page_load_metrics/experiments/delay_navigation_throttle.cc

Issue 2830353003: Tracing for NavigationHandle lifetime and state. (Closed)
Patch Set: Created 3 years, 8 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: chrome/browser/page_load_metrics/experiments/delay_navigation_throttle.cc
diff --git a/chrome/browser/page_load_metrics/experiments/delay_navigation_throttle.cc b/chrome/browser/page_load_metrics/experiments/delay_navigation_throttle.cc
index cd9f3552b9c16e0f0f1e4372300bc85cec7f8e1f..74ff9db7ff5c67c6bbc50500892291676ded2d3a 100644
--- a/chrome/browser/page_load_metrics/experiments/delay_navigation_throttle.cc
+++ b/chrome/browser/page_load_metrics/experiments/delay_navigation_throttle.cc
@@ -119,6 +119,10 @@ DelayNavigationThrottle::WillStartRequest() {
return content::NavigationThrottle::DEFER;
}
+const char* DelayNavigationThrottle::GetNameForLogging() {
+ return "DelayNavigationThrottle";
+}
+
void DelayNavigationThrottle::OnDelayComplete() {
base::TimeDelta actual_delay = base::TimeTicks::Now() - delay_start_time_;
base::TimeDelta delay_delta = actual_delay - navigation_delay_;

Powered by Google App Engine
This is Rietveld 408576698