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

Unified Diff: media/mojo/clients/mojo_renderer.h

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 | « no previous file | media/mojo/clients/mojo_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer.h
diff --git a/media/mojo/clients/mojo_renderer.h b/media/mojo/clients/mojo_renderer.h
index ae3cea1ed526495ecdee88120f7caafdd1a34cf4..42c506d4d8978a2e74aff49417cd21615d102d39 100644
--- a/media/mojo/clients/mojo_renderer.h
+++ b/media/mojo/clients/mojo_renderer.h
@@ -59,7 +59,7 @@ class MojoRenderer : public Renderer, public mojom::RendererClient {
private:
// mojom::RendererClient implementation, dispatched on the
// |task_runner_|.
- void OnTimeUpdate(int64_t time_usec, int64_t max_time_usec) override;
+ void OnTimeUpdate(base::TimeDelta time, base::TimeDelta max_time) override;
void OnBufferingStateChange(mojom::BufferingState state) override;
void OnEnded() override;
void OnError() override;
@@ -67,7 +67,7 @@ class MojoRenderer : public Renderer, public mojom::RendererClient {
void OnVideoOpacityChange(bool opaque) override;
void OnWaitingForDecryptionKey() override;
void OnStatisticsUpdate(const PipelineStatistics& stats) override;
- void OnDurationChange(int64_t duration_usec) override;
+ void OnDurationChange(base::TimeDelta duration) override;
// Binds |remote_renderer_| to the mojo message pipe. Can be called multiple
// times. If an error occurs during connection, OnConnectionError will be
« no previous file with comments | « no previous file | media/mojo/clients/mojo_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698