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

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

Issue 2830353003: Tracing for NavigationHandle lifetime and state. (Closed)
Patch Set: Rebase. 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 005d2f7db146c1d1870d45e62d62c693a5e6e87c..d83213d6f7eb10d662f2e5882bb4a39fb2ed538c 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