#include "media/base/wall_clock_time_source.h"
#include "base/logging.h"
namespace media {
WallClockTimeSource::WallClockTimeSource()
: … { … }
WallClockTimeSource::WallClockTimeSource(const base::TickClock* tick_clock)
: … { … }
WallClockTimeSource::~WallClockTimeSource() = default;
void WallClockTimeSource::StartTicking() { … }
void WallClockTimeSource::StopTicking() { … }
void WallClockTimeSource::SetPlaybackRate(double playback_rate) { … }
void WallClockTimeSource::SetMediaTime(base::TimeDelta time) { … }
base::TimeDelta WallClockTimeSource::CurrentMediaTime() { … }
bool WallClockTimeSource::GetWallClockTimes(
const std::vector<base::TimeDelta>& media_timestamps,
std::vector<base::TimeTicks>* wall_clock_times) { … }
base::TimeDelta WallClockTimeSource::CurrentMediaTime_Locked() { … }
}