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

Unified Diff: chrome/common/page_load_metrics/test/page_load_metrics_test_util.h

Issue 2901383002: Buffer cross frame paint timing updates. (Closed)
Patch Set: address comment Created 3 years, 7 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/test/page_load_metrics_test_util.h
diff --git a/chrome/common/page_load_metrics/test/page_load_metrics_test_util.h b/chrome/common/page_load_metrics/test/page_load_metrics_test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..cd0d9c1aeed6204861f9b1385a4364a8bca57988
--- /dev/null
+++ b/chrome/common/page_load_metrics/test/page_load_metrics_test_util.h
@@ -0,0 +1,19 @@
+// Copyright 2017 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.
+
+#ifndef CHROME_COMMON_PAGE_LOAD_METRICS_TEST_PAGE_LOAD_METRICS_TEST_UTIL_H_
+#define CHROME_COMMON_PAGE_LOAD_METRICS_TEST_PAGE_LOAD_METRICS_TEST_UTIL_H_
+
+namespace page_load_metrics {
+namespace mojom {
+class PageLoadTiming;
+} // namespace mojom
+} // namespace page_load_metrics
+
+// Helper that fills in any timing fields that page load metrics requires but
+// that are currently missing.
+void PopulateRequiredTimingFields(
+ page_load_metrics::mojom::PageLoadTiming* inout_timing);
+
+#endif // CHROME_COMMON_PAGE_LOAD_METRICS_TEST_PAGE_LOAD_METRICS_TEST_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698