OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "components/page_load_metrics/browser/page_load_metrics_observer.h" | 5 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h" |
6 | 6 |
7 namespace page_load_metrics { | 7 namespace page_load_metrics { |
8 | 8 |
9 PageLoadExtraInfo::PageLoadExtraInfo( | 9 PageLoadExtraInfo::PageLoadExtraInfo( |
10 const base::Optional<base::TimeDelta>& first_background_time, | 10 const base::Optional<base::TimeDelta>& first_background_time, |
11 const base::Optional<base::TimeDelta>& first_foreground_time, | 11 const base::Optional<base::TimeDelta>& first_foreground_time, |
12 bool started_in_foreground, | 12 bool started_in_foreground, |
13 const GURL& committed_url, | 13 const GURL& committed_url, |
14 const base::Optional<base::TimeDelta>& time_to_commit, | 14 const base::Optional<base::TimeDelta>& time_to_commit, |
15 UserAbortType abort_type, | 15 UserAbortType abort_type, |
(...skipping 12 matching lines...) Expand all Loading... |
28 | 28 |
29 PageLoadExtraInfo::~PageLoadExtraInfo() {} | 29 PageLoadExtraInfo::~PageLoadExtraInfo() {} |
30 | 30 |
31 FailedProvisionalLoadInfo::FailedProvisionalLoadInfo(base::TimeDelta interval, | 31 FailedProvisionalLoadInfo::FailedProvisionalLoadInfo(base::TimeDelta interval, |
32 net::Error error) | 32 net::Error error) |
33 : time_to_failed_provisional_load(interval), error(error) {} | 33 : time_to_failed_provisional_load(interval), error(error) {} |
34 | 34 |
35 FailedProvisionalLoadInfo::~FailedProvisionalLoadInfo() {} | 35 FailedProvisionalLoadInfo::~FailedProvisionalLoadInfo() {} |
36 | 36 |
37 } // namespace page_load_metrics | 37 } // namespace page_load_metrics |
OLD | NEW |