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

Side by Side Diff: media/filters/clockless_video_frame_scheduler.h

Issue 623263003: replace OVERRIDE and FINAL with override and final in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « media/filters/chunk_demuxer.h ('k') | media/filters/decrypting_audio_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_ 5 #ifndef MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_
6 #define MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_ 6 #define MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_
7 7
8 #include "media/filters/video_frame_scheduler.h" 8 #include "media/filters/video_frame_scheduler.h"
9 9
10 namespace media { 10 namespace media {
11 11
12 // A scheduler that immediately displays frames. 12 // A scheduler that immediately displays frames.
13 class ClocklessVideoFrameScheduler : public VideoFrameScheduler { 13 class ClocklessVideoFrameScheduler : public VideoFrameScheduler {
14 public: 14 public:
15 typedef base::Callback<void(const scoped_refptr<VideoFrame>&)> DisplayCB; 15 typedef base::Callback<void(const scoped_refptr<VideoFrame>&)> DisplayCB;
16 16
17 explicit ClocklessVideoFrameScheduler(const DisplayCB& display_cb); 17 explicit ClocklessVideoFrameScheduler(const DisplayCB& display_cb);
18 virtual ~ClocklessVideoFrameScheduler(); 18 virtual ~ClocklessVideoFrameScheduler();
19 19
20 // VideoFrameScheduler implementation. 20 // VideoFrameScheduler implementation.
21 virtual void ScheduleVideoFrame(const scoped_refptr<VideoFrame>& frame, 21 virtual void ScheduleVideoFrame(const scoped_refptr<VideoFrame>& frame,
22 base::TimeTicks wall_ticks, 22 base::TimeTicks wall_ticks,
23 const DoneCB& done_cb) OVERRIDE; 23 const DoneCB& done_cb) override;
24 virtual void Reset() OVERRIDE; 24 virtual void Reset() override;
25 25
26 private: 26 private:
27 DisplayCB display_cb_; 27 DisplayCB display_cb_;
28 28
29 DISALLOW_COPY_AND_ASSIGN(ClocklessVideoFrameScheduler); 29 DISALLOW_COPY_AND_ASSIGN(ClocklessVideoFrameScheduler);
30 }; 30 };
31 31
32 } // namespace media 32 } // namespace media
33 33
34 #endif // MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_ 34 #endif // MEDIA_FILTERS_CLOCKLESS_VIDEO_FRAME_SCHEDULER_H_
OLDNEW
« no previous file with comments | « media/filters/chunk_demuxer.h ('k') | media/filters/decrypting_audio_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698