| 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 // IPC messages for page load metrics. | 5 // IPC messages for page load metrics. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
| 9 #include "components/page_load_metrics/common/page_load_timing.h" | 9 #include "components/page_load_metrics/common/page_load_timing.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 IPC_STRUCT_TRAITS_MEMBER(first_layout) | 21 IPC_STRUCT_TRAITS_MEMBER(first_layout) |
| 22 IPC_STRUCT_TRAITS_MEMBER(first_paint) | 22 IPC_STRUCT_TRAITS_MEMBER(first_paint) |
| 23 IPC_STRUCT_TRAITS_MEMBER(first_text_paint) | 23 IPC_STRUCT_TRAITS_MEMBER(first_text_paint) |
| 24 IPC_STRUCT_TRAITS_MEMBER(first_image_paint) | 24 IPC_STRUCT_TRAITS_MEMBER(first_image_paint) |
| 25 IPC_STRUCT_TRAITS_MEMBER(first_contentful_paint) | 25 IPC_STRUCT_TRAITS_MEMBER(first_contentful_paint) |
| 26 IPC_STRUCT_TRAITS_MEMBER(parse_start) | 26 IPC_STRUCT_TRAITS_MEMBER(parse_start) |
| 27 IPC_STRUCT_TRAITS_MEMBER(parse_stop) | 27 IPC_STRUCT_TRAITS_MEMBER(parse_stop) |
| 28 IPC_STRUCT_TRAITS_MEMBER(parse_blocked_on_script_load_duration) | 28 IPC_STRUCT_TRAITS_MEMBER(parse_blocked_on_script_load_duration) |
| 29 IPC_STRUCT_TRAITS_END() | 29 IPC_STRUCT_TRAITS_END() |
| 30 | 30 |
| 31 IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::PageLoadMetadata) |
| 32 IPC_STRUCT_TRAITS_MEMBER(behavior_flags) |
| 33 IPC_STRUCT_TRAITS_END() |
| 34 |
| 31 // Sent from renderer to browser process when the PageLoadTiming for the | 35 // Sent from renderer to browser process when the PageLoadTiming for the |
| 32 // associated frame changed. | 36 // associated frame changed. |
| 33 IPC_MESSAGE_ROUTED1(PageLoadMetricsMsg_TimingUpdated, | 37 IPC_MESSAGE_ROUTED2(PageLoadMetricsMsg_TimingUpdated, |
| 34 page_load_metrics::PageLoadTiming) | 38 page_load_metrics::PageLoadTiming, |
| 39 page_load_metrics::PageLoadMetadata); |
| OLD | NEW |