Chromium Code Reviews| Index: chrome/browser/page_load_metrics/page_load_metrics_observer.h |
| diff --git a/chrome/browser/page_load_metrics/page_load_metrics_observer.h b/chrome/browser/page_load_metrics/page_load_metrics_observer.h |
| index 0f742d0ba12766f90aa839989a1d99848af50e9a..ec09ee8403fed870a74e4ae767db0d04a81917f4 100644 |
| --- a/chrome/browser/page_load_metrics/page_load_metrics_observer.h |
| +++ b/chrome/browser/page_load_metrics/page_load_metrics_observer.h |
| @@ -111,8 +111,9 @@ struct PageLoadExtraInfo { |
| const base::Optional<base::TimeDelta>& first_foreground_time, |
| bool started_in_foreground, |
| UserInitiatedInfo user_initiated_info, |
| - const GURL& committed_url, |
| + const GURL& url, |
| const GURL& start_url, |
| + const bool did_commit, |
|
jkarlin
2017/02/15 19:55:36
You have const here but not in the .cc
Bryan McQuade
2017/02/15 20:27:10
Ah, this is unnecessary. I removed it. Thanks!
|
| UserAbortType abort_type, |
| UserInitiatedInfo abort_user_initiated_info, |
| const base::Optional<base::TimeDelta>& time_to_abort, |
| @@ -134,13 +135,16 @@ struct PageLoadExtraInfo { |
| // Whether the page load was initiated by a user. |
| const UserInitiatedInfo user_initiated_info; |
| - // Committed URL. If the page load did not commit, |committed_url| will be |
| - // empty. |
| - const GURL committed_url; |
| + // Most recent URL for this page. Can be updated at navigation start, upon |
| + // redirection, and at commit time. |
| + const GURL url; |
| // The URL that started the navigation, before redirects. |
| const GURL start_url; |
| + // Whether the navigation for this page load committed. |
| + const bool did_commit; |
| + |
| // The abort time and time to abort for this page load. If the page was not |
| // aborted, |abort_type| will be |ABORT_NONE|. |
| const UserAbortType abort_type; |