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

Unified Diff: components/page_load_metrics/common/page_load_metrics.mojom

Issue 2056153002: Convert PageLoadMetrics to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gyp build deps Created 4 years, 5 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: components/page_load_metrics/common/page_load_metrics.mojom
diff --git a/components/page_load_metrics/common/page_load_metrics.mojom b/components/page_load_metrics/common/page_load_metrics.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..f2e23b93375e08506ffffd513cbfad17a1cb3e91
--- /dev/null
+++ b/components/page_load_metrics/common/page_load_metrics.mojom
@@ -0,0 +1,17 @@
+// Copyright 2016 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.
+
+module page_load_metrics.mojom;
+
+[Native]
+struct PageLoadMetadata;
+
+[Native]
+struct PageLoadTiming;
+
+interface PageLoadMetrics {
+ // Sent from renderer to browser process when the PageLoadTiming for the
+ // associated frame changed.
+ TimingUpdated(PageLoadTiming last_timing, PageLoadMetadata metadata);
+};

Powered by Google App Engine
This is Rietveld 408576698