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

Unified Diff: components/page_load_metrics/browser/metrics_web_contents_observer.h

Issue 2152683004: Refactor PageLoadMetricsObserver completion callback policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@relevantloads
Patch Set: fix metric Created 4 years, 5 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: components/page_load_metrics/browser/metrics_web_contents_observer.h
diff --git a/components/page_load_metrics/browser/metrics_web_contents_observer.h b/components/page_load_metrics/browser/metrics_web_contents_observer.h
index 474a4530895f9c39ee22ec7ed8f1fa793f3593d5..f3ecb2a78f2c6292f1b93ad6b174e13ea6c2f634 100644
--- a/components/page_load_metrics/browser/metrics_web_contents_observer.h
+++ b/components/page_load_metrics/browser/metrics_web_contents_observer.h
@@ -227,6 +227,8 @@ class PageLoadTracker {
// (before redirects), and the committed url after commit.
GURL url_;
+ base::Optional<FailedProvisionalLoadInfo> failed_provisional_load_info_;
Charlie Harrison 2016/07/18 20:02:18 Can this be a unique_ptr? If we never fail then we
Bryan McQuade 2016/07/19 12:55:38 Good idea, done.
+
// Will be ABORT_NONE if we have not aborted this load yet. Otherwise will
// be the first abort action the user performed.
UserAbortType abort_type_;

Powered by Google App Engine
This is Rietveld 408576698