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

Unified Diff: media/mojo/services/media_mojo_unittest.cc

Issue 2240213003: Update media mojom files to use TimeDelta instead of int64 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@OnDurationChanged_CL
Patch Set: Created 4 years, 4 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 | « media/mojo/interfaces/renderer.mojom ('k') | media/mojo/services/mojo_renderer_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/media_mojo_unittest.cc
diff --git a/media/mojo/services/media_mojo_unittest.cc b/media/mojo/services/media_mojo_unittest.cc
index c19fa7e54567b1c3921bb98667d4a6ca850110a7..9b2379c066a63e1bbeac4fef437712878f9d090b 100644
--- a/media/mojo/services/media_mojo_unittest.cc
+++ b/media/mojo/services/media_mojo_unittest.cc
@@ -43,7 +43,8 @@ class MockRendererClient : public mojom::RendererClient {
~MockRendererClient() override {}
// mojom::RendererClient implementation.
- MOCK_METHOD2(OnTimeUpdate, void(int64_t time_usec, int64_t max_time_usec));
+ MOCK_METHOD2(OnTimeUpdate,
+ void(base::TimeDelta time, base::TimeDelta max_time));
MOCK_METHOD1(OnBufferingStateChange, void(mojom::BufferingState state));
MOCK_METHOD0(OnEnded, void());
MOCK_METHOD0(OnError, void());
@@ -52,7 +53,7 @@ class MockRendererClient : public mojom::RendererClient {
MOCK_METHOD1(OnStatisticsUpdate,
void(const media::PipelineStatistics& stats));
MOCK_METHOD0(OnWaitingForDecryptionKey, void());
- MOCK_METHOD1(OnDurationChange, void(int64_t time_usec));
+ MOCK_METHOD1(OnDurationChange, void(base::TimeDelta duration));
private:
DISALLOW_COPY_AND_ASSIGN(MockRendererClient);
« no previous file with comments | « media/mojo/interfaces/renderer.mojom ('k') | media/mojo/services/mojo_renderer_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698