#include "media/capture/content/smooth_event_sampler.h"
#include <stdint.h>
#include <algorithm>
#include "base/trace_event/trace_event.h"
namespace media {
SmoothEventSampler::SmoothEventSampler(base::TimeDelta min_capture_period)
: … { … }
void SmoothEventSampler::SetMinCapturePeriod(base::TimeDelta period) { … }
void SmoothEventSampler::ConsiderPresentationEvent(base::TimeTicks event_time) { … }
bool SmoothEventSampler::ShouldSample() const { … }
void SmoothEventSampler::RecordSample() { … }
bool SmoothEventSampler::HasUnrecordedEvent() const { … }
}