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 COMPONENTS_PAGE_LOAD_METRICS_BROWSER_PAGE_LOAD_METRICS_WEB_CONTENTS_OBSE
RVER_H_ | 5 #ifndef COMPONENTS_PAGE_LOAD_METRICS_BROWSER_PAGE_LOAD_METRICS_WEB_CONTENTS_OBSE
RVER_H_ |
6 #define COMPONENTS_PAGE_LOAD_METRICS_BROWSER_PAGE_LOAD_METRICS_WEB_CONTENTS_OBSE
RVER_H_ | 6 #define COMPONENTS_PAGE_LOAD_METRICS_BROWSER_PAGE_LOAD_METRICS_WEB_CONTENTS_OBSE
RVER_H_ |
7 | 7 |
8 #include "base/containers/scoped_ptr_map.h" | 8 #include "base/containers/scoped_ptr_map.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 "PageLoad.Timing2.NavigationToDOMContentLoadedEventFired.Background"; | 53 "PageLoad.Timing2.NavigationToDOMContentLoadedEventFired.Background"; |
54 const char kBackgroundHistogramLoad[] = | 54 const char kBackgroundHistogramLoad[] = |
55 "PageLoad.Timing2.NavigationToLoadEventFired.Background"; | 55 "PageLoad.Timing2.NavigationToLoadEventFired.Background"; |
56 const char kBackgroundHistogramFirstPaint[] = | 56 const char kBackgroundHistogramFirstPaint[] = |
57 "PageLoad.Timing2.NavigationToFirstPaint.Background"; | 57 "PageLoad.Timing2.NavigationToFirstPaint.Background"; |
58 const char kBackgroundHistogramFirstImagePaint[] = | 58 const char kBackgroundHistogramFirstImagePaint[] = |
59 "PageLoad.Timing2.NavigationToFirstImagePaint.Background."; | 59 "PageLoad.Timing2.NavigationToFirstImagePaint.Background."; |
60 const char kBackgroundHistogramFirstContentfulPaint[] = | 60 const char kBackgroundHistogramFirstContentfulPaint[] = |
61 "PageLoad.Timing2.NavigationToFirstContentfulPaint.Background"; | 61 "PageLoad.Timing2.NavigationToFirstContentfulPaint.Background"; |
62 | 62 |
| 63 const char kHistogramFirstContentfulPaintHigh[] = |
| 64 "PageLoad.Timing2.NavigationToFirstContentfulPaint.HighResolutionClock"; |
| 65 const char kHistogramFirstContentfulPaintLow[] = |
| 66 "PageLoad.Timing2.NavigationToFirstContentfulPaint.LowResolutionClock"; |
| 67 |
63 const char kHistogramFirstBackground[] = | 68 const char kHistogramFirstBackground[] = |
64 "PageLoad.Timing2.NavigationToFirstBackground"; | 69 "PageLoad.Timing2.NavigationToFirstBackground"; |
65 const char kHistogramFirstForeground[] = | 70 const char kHistogramFirstForeground[] = |
66 "PageLoad.Timing2.NavigationToFirstForeground"; | 71 "PageLoad.Timing2.NavigationToFirstForeground"; |
67 | 72 |
68 const char kProvisionalEvents[] = "PageLoad.Events.Provisional"; | 73 const char kProvisionalEvents[] = "PageLoad.Events.Provisional"; |
69 const char kCommittedEvents[] = "PageLoad.Events.Committed"; | 74 const char kCommittedEvents[] = "PageLoad.Events.Committed"; |
70 const char kBackgroundProvisionalEvents[] = | 75 const char kBackgroundProvisionalEvents[] = |
71 "PageLoad.Events.Provisional.Background"; | 76 "PageLoad.Events.Provisional.Background"; |
72 const char kBackgroundCommittedEvents[] = | 77 const char kBackgroundCommittedEvents[] = |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 301 |
297 scoped_ptr<PageLoadMetricsEmbedderInterface> embedder_interface_; | 302 scoped_ptr<PageLoadMetricsEmbedderInterface> embedder_interface_; |
298 base::ObserverList<PageLoadMetricsObserver, true> observers_; | 303 base::ObserverList<PageLoadMetricsObserver, true> observers_; |
299 | 304 |
300 DISALLOW_COPY_AND_ASSIGN(MetricsWebContentsObserver); | 305 DISALLOW_COPY_AND_ASSIGN(MetricsWebContentsObserver); |
301 }; | 306 }; |
302 | 307 |
303 } // namespace page_load_metrics | 308 } // namespace page_load_metrics |
304 | 309 |
305 #endif // COMPONENTS_PAGE_LOAD_METRICS_BROWSER_PAGE_LOAD_METRICS_WEB_CONTENTS_O
BSERVER_H_ | 310 #endif // COMPONENTS_PAGE_LOAD_METRICS_BROWSER_PAGE_LOAD_METRICS_WEB_CONTENTS_O
BSERVER_H_ |
OLD | NEW |