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

Unified Diff: media/base/test_helpers.cc

Issue 237353007: Refactor VideoRendererImpl to use VideoFrameScheduler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 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: media/base/test_helpers.cc
diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
index fd571ddc689c43eda8c746c248540bff64143af7..355824989e0ab7376705c7e6271f079f27209650 100644
--- a/media/base/test_helpers.cc
+++ b/media/base/test_helpers.cc
@@ -19,6 +19,18 @@
using ::testing::_;
using ::testing::StrictMock;
+namespace base {
+
+void PrintTo(const TimeDelta& time_delta, std::ostream* os) {
+ *os << time_delta.InMicroseconds();
+}
+
+void PrintTo(const TimeTicks& time_ticks, std::ostream* os) {
+ *os << time_ticks.ToInternalValue();
+}
+
+} // namespace base
+
namespace media {
// Utility mock for testing methods expecting Closures and PipelineStatusCBs.

Powered by Google App Engine
This is Rietveld 408576698