OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 module page_load_metrics.mojom; | 5 module page_load_metrics.mojom; |
6 | 6 |
7 import "mojo/common/time.mojom"; | 7 import "mojo/common/time.mojom"; |
8 | 8 |
9 // TimeDeltas below relative to navigation start. | 9 // TimeDeltas below relative to navigation start. |
10 struct DocumentTiming { | 10 struct DocumentTiming { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 struct PageLoadMetadata { | 106 struct PageLoadMetadata { |
107 // These are packed blink::WebLoadingBehaviorFlag enums. | 107 // These are packed blink::WebLoadingBehaviorFlag enums. |
108 int32 behavior_flags = 0; | 108 int32 behavior_flags = 0; |
109 }; | 109 }; |
110 | 110 |
111 // Sent from renderer to browser process when the PageLoadTiming for the | 111 // Sent from renderer to browser process when the PageLoadTiming for the |
112 // associated frame changed. | 112 // associated frame changed. |
113 interface PageLoadMetrics { | 113 interface PageLoadMetrics { |
114 UpdateTiming(PageLoadTiming page_load_timing, PageLoadMetadata page_load_metad
ata); | 114 UpdateTiming(PageLoadTiming page_load_timing, PageLoadMetadata page_load_metad
ata); |
115 }; | 115 }; |
OLD | NEW |