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

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

Issue 2948323002: [PageLoadMetrics] Remove legacy IPC from Page Load Metrics. (Closed)
Patch Set: Clean up OWNERS Created 3 years, 6 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
deleted file mode 100644
index 6853fdf65bfa92e94761ef39f9689b3513debf1b..0000000000000000000000000000000000000000
--- a/chrome/common/page_load_metrics/page_load_metrics_messages.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// IPC messages for page load metrics.
-// Multiply-included message file, hence no include guard.
-
-#include "base/time/time.h"
-#include "chrome/common/page_load_metrics/page_load_metrics_param_traits.h"
-#include "chrome/common/page_load_metrics/page_load_timing.h"
-#include "ipc/ipc_message_macros.h"
-
-#define IPC_MESSAGE_START PageLoadMetricsMsgStart
-
-// See comments in page_load_timing.h for details on each field.
-
-IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::mojom::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::mojom::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::mojom::ParseTiming)
- IPC_STRUCT_TRAITS_MEMBER(parse_start)
- IPC_STRUCT_TRAITS_MEMBER(parse_stop)
- IPC_STRUCT_TRAITS_MEMBER(parse_blocked_on_script_load_duration)
- IPC_STRUCT_TRAITS_MEMBER(
- parse_blocked_on_script_load_from_document_write_duration)
- 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::mojom::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()
-
-// page_load_metrics::mojom::PageLoadTiming has custom ParamTraits.
-
-IPC_STRUCT_TRAITS_BEGIN(page_load_metrics::mojom::PageLoadMetadata)
- IPC_STRUCT_TRAITS_MEMBER(behavior_flags)
-IPC_STRUCT_TRAITS_END()
-
-// Sent from renderer to browser process when the PageLoadTiming for the
-// associated frame changed.
-IPC_MESSAGE_ROUTED2(PageLoadMetricsMsg_TimingUpdated,
- page_load_metrics::mojom::PageLoadTiming,
- page_load_metrics::mojom::PageLoadMetadata)

Powered by Google App Engine
This is Rietveld 408576698