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

Unified Diff: ui/latency/latency_info_test_support.cc

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: NON_EXPORTED_BASE 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
« no previous file with comments | « ui/latency/latency_info.cc ('k') | ui/latency/latency_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/latency/latency_info_test_support.cc
diff --git a/ui/latency/latency_info_test_support.cc b/ui/latency/latency_info_test_support.cc
new file mode 100644
index 0000000000000000000000000000000000000000..10fe183174f70b024164044c7b758dc26e16adc0
--- /dev/null
+++ b/ui/latency/latency_info_test_support.cc
@@ -0,0 +1,13 @@
+// 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.
+
+#include "ui/latency/latency_info.h"
+
+namespace ui {
+
+void PrintTo(const LatencyInfo& latency, ::std::ostream* os) {
+ *os << "LatencyInfo: trace_id=" << latency.trace_id();
+}
+
+} // namespace ui
« no previous file with comments | « ui/latency/latency_info.cc ('k') | ui/latency/latency_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698