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

Unified Diff: media/filters/clockless_video_frame_scheduler.h

Issue 1111993002: Remove VideoFrameScheduler and dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/BUILD.gn ('k') | media/filters/clockless_video_frame_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/clockless_video_frame_scheduler.h
diff --git a/media/filters/clockless_video_frame_scheduler.h b/media/filters/clockless_video_frame_scheduler.h
deleted file mode 100644
index b13ffc2f74b72471062910e92892a6ef66b9b882..0000000000000000000000000000000000000000
--- a/media/filters/clockless_video_frame_scheduler.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_
-#define MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_
-
-#include "media/filters/video_frame_scheduler.h"
-
-namespace media {
-
-// A scheduler that immediately displays frames.
-class ClocklessVideoFrameScheduler : public VideoFrameScheduler {
- public:
- typedef base::Callback<void(const scoped_refptr<VideoFrame>&)> DisplayCB;
-
- explicit ClocklessVideoFrameScheduler(const DisplayCB& display_cb);
- ~ClocklessVideoFrameScheduler() override;
-
- // VideoFrameScheduler implementation.
- void ScheduleVideoFrame(const scoped_refptr<VideoFrame>& frame,
- base::TimeTicks wall_ticks,
- const DoneCB& done_cb) override;
- void Reset() override;
-
- private:
- DisplayCB display_cb_;
-
- DISALLOW_COPY_AND_ASSIGN(ClocklessVideoFrameScheduler);
-};
-
-} // namespace media
-
-#endif // MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_
« no previous file with comments | « media/BUILD.gn ('k') | media/filters/clockless_video_frame_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698