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 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ | 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ |
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ | 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBSERV
ER_H_ |
7 | 7 |
8 #include "components/page_load_metrics/browser/page_load_metrics_observer.h" | 8 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h" |
9 | 9 |
10 namespace internal { | 10 namespace internal { |
11 | 11 |
12 // NOTE: Some of these histograms are separated into a separate histogram | 12 // NOTE: Some of these histograms are separated into a separate histogram |
13 // specified by the ".Background" suffix. For these events, we put them into the | 13 // specified by the ".Background" suffix. For these events, we put them into the |
14 // background histogram if the web contents was ever in the background from | 14 // background histogram if the web contents was ever in the background from |
15 // navigation start to the event in question. | 15 // navigation start to the event in question. |
16 extern const char kHistogramCommit[]; | 16 extern const char kHistogramCommit[]; |
17 extern const char kHistogramFirstLayout[]; | 17 extern const char kHistogramFirstLayout[]; |
18 extern const char kHistogramFirstTextPaint[]; | 18 extern const char kHistogramFirstTextPaint[]; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 void RecordRappor(const page_load_metrics::PageLoadTiming& timing, | 97 void RecordRappor(const page_load_metrics::PageLoadTiming& timing, |
98 const page_load_metrics::PageLoadExtraInfo& info); | 98 const page_load_metrics::PageLoadExtraInfo& info); |
99 | 99 |
100 ui::PageTransition transition_; | 100 ui::PageTransition transition_; |
101 bool initiated_by_user_gesture_; | 101 bool initiated_by_user_gesture_; |
102 | 102 |
103 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver); | 103 DISALLOW_COPY_AND_ASSIGN(CorePageLoadMetricsObserver); |
104 }; | 104 }; |
105 | 105 |
106 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS
ERVER_H_ | 106 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_CORE_PAGE_LOAD_METRICS_OBS
ERVER_H_ |
OLD | NEW |