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

Unified Diff: media/mojo/services/mojo_renderer_service.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 | « media/mojo/services/media_mojo_unittest.cc ('k') | media/mojo/services/mojo_renderer_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_renderer_service.h
diff --git a/media/mojo/services/mojo_renderer_service.h b/media/mojo/services/mojo_renderer_service.h
index d832bcea738a06cea35748fac08823bea5c5d870..44916c5eb1afd32d06b1b097bd7b9cd8a7a3703a 100644
--- a/media/mojo/services/mojo_renderer_service.h
+++ b/media/mojo/services/mojo_renderer_service.h
@@ -50,7 +50,7 @@ class MEDIA_MOJO_EXPORT MojoRendererService
const base::Optional<GURL>& url,
const InitializeCallback& callback) final;
void Flush(const FlushCallback& callback) final;
- void StartPlayingFrom(int64_t time_delta_usec) final;
+ void StartPlayingFrom(base::TimeDelta time_delta) final;
void SetPlaybackRate(double playback_rate) final;
void SetVolume(float volume) final;
void SetCdm(int32_t cdm_id, const SetCdmCallback& callback) final;
@@ -106,7 +106,7 @@ class MEDIA_MOJO_EXPORT MojoRendererService
std::unique_ptr<DemuxerStreamProvider> stream_provider_;
base::RepeatingTimer time_update_timer_;
- int64_t last_media_time_usec_;
+ base::TimeDelta last_media_time_;
mojom::RendererClientPtr client_;
« no previous file with comments | « media/mojo/services/media_mojo_unittest.cc ('k') | media/mojo/services/mojo_renderer_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698