Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4106)

Unified Diff: chrome/common/page_load_metrics/page_load_metrics_messages.h

Issue 2806863003: [Page Load Metrics] Structure PageLoadTiming. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/page_load_metrics/page_load_metrics_messages.h
diff --git a/chrome/common/page_load_metrics/page_load_metrics_messages.h b/chrome/common/page_load_metrics/page_load_metrics_messages.h
index 2ccfe943da7be2f90c7ef9c23feb79e6203cc582..82b028d2748cb28962cd5c21c62f43d1ac8d97a4 100644
--- a/chrome/common/page_load_metrics/page_load_metrics_messages.h
+++ b/chrome/common/page_load_metrics/page_load_metrics_messages.h
@@ -13,22 +13,21 @@
// See comments in page_load_timing.h for details on each field.
-IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::StyleSheetTiming)
- IPC_STRUCT_TRAITS_MEMBER(author_style_sheet_parse_duration_before_fcp)
- IPC_STRUCT_TRAITS_MEMBER(update_style_duration_before_fcp)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::PageLoadTiming)
- IPC_STRUCT_TRAITS_MEMBER(navigation_start)
- IPC_STRUCT_TRAITS_MEMBER(response_start)
+IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::DocumentTiming)
IPC_STRUCT_TRAITS_MEMBER(dom_content_loaded_event_start)
IPC_STRUCT_TRAITS_MEMBER(load_event_start)
IPC_STRUCT_TRAITS_MEMBER(first_layout)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::PaintTiming)
IPC_STRUCT_TRAITS_MEMBER(first_paint)
IPC_STRUCT_TRAITS_MEMBER(first_text_paint)
IPC_STRUCT_TRAITS_MEMBER(first_image_paint)
IPC_STRUCT_TRAITS_MEMBER(first_contentful_paint)
IPC_STRUCT_TRAITS_MEMBER(first_meaningful_paint)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::ParseTiming)
IPC_STRUCT_TRAITS_MEMBER(parse_start)
IPC_STRUCT_TRAITS_MEMBER(parse_stop)
IPC_STRUCT_TRAITS_MEMBER(parse_blocked_on_script_load_duration)
@@ -37,6 +36,19 @@ IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::PageLoadTiming)
IPC_STRUCT_TRAITS_MEMBER(parse_blocked_on_script_execution_duration)
IPC_STRUCT_TRAITS_MEMBER(
parse_blocked_on_script_execution_from_document_write_duration)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::StyleSheetTiming)
+ IPC_STRUCT_TRAITS_MEMBER(author_style_sheet_parse_duration_before_fcp)
+ IPC_STRUCT_TRAITS_MEMBER(update_style_duration_before_fcp)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::PageLoadTiming)
+ IPC_STRUCT_TRAITS_MEMBER(navigation_start)
+ IPC_STRUCT_TRAITS_MEMBER(response_start)
+ IPC_STRUCT_TRAITS_MEMBER(document_timing)
+ IPC_STRUCT_TRAITS_MEMBER(paint_timing)
+ IPC_STRUCT_TRAITS_MEMBER(parse_timing)
IPC_STRUCT_TRAITS_MEMBER(style_sheet_timing)
IPC_STRUCT_TRAITS_END()
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/common/page_load_metrics/page_load_timing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698