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

Side by Side Diff: media/filters/test_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/skcanvas_video_renderer.cc ('k') | media/filters/video_frame_scheduler_impl.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_TEST_VIDEO_FRAME_SCHEDULER_H_ 5 #ifndef MEDIA_FILTERS_TEST_VIDEO_FRAME_SCHEDULER_H_
6 #define MEDIA_FILTERS_TEST_VIDEO_FRAME_SCHEDULER_H_ 6 #define MEDIA_FILTERS_TEST_VIDEO_FRAME_SCHEDULER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "media/filters/video_frame_scheduler.h" 10 #include "media/filters/video_frame_scheduler.h"
(...skipping 13 matching lines...) Expand all
24 base::TimeTicks wall_ticks; 24 base::TimeTicks wall_ticks;
25 DoneCB done_cb; 25 DoneCB done_cb;
26 }; 26 };
27 27
28 TestVideoFrameScheduler(); 28 TestVideoFrameScheduler();
29 virtual ~TestVideoFrameScheduler(); 29 virtual ~TestVideoFrameScheduler();
30 30
31 // VideoFrameScheduler implementation. 31 // VideoFrameScheduler implementation.
32 virtual void ScheduleVideoFrame(const scoped_refptr<VideoFrame>& frame, 32 virtual void ScheduleVideoFrame(const scoped_refptr<VideoFrame>& frame,
33 base::TimeTicks wall_ticks, 33 base::TimeTicks wall_ticks,
34 const DoneCB& done_cb) OVERRIDE; 34 const DoneCB& done_cb) override;
35 virtual void Reset() OVERRIDE; 35 virtual void Reset() override;
36 36
37 // Displays all frames with scheduled times <= |wall_ticks|. 37 // Displays all frames with scheduled times <= |wall_ticks|.
38 void DisplayFramesUpTo(base::TimeTicks wall_ticks); 38 void DisplayFramesUpTo(base::TimeTicks wall_ticks);
39 39
40 // Drops all frames with scheduled times <= |wall_ticks|. 40 // Drops all frames with scheduled times <= |wall_ticks|.
41 void DropFramesUpTo(base::TimeTicks wall_ticks); 41 void DropFramesUpTo(base::TimeTicks wall_ticks);
42 42
43 const std::vector<ScheduledFrame>& scheduled_frames() const { 43 const std::vector<ScheduledFrame>& scheduled_frames() const {
44 return scheduled_frames_; 44 return scheduled_frames_;
45 } 45 }
46 46
47 private: 47 private:
48 void RunDoneCBForFramesUpTo(base::TimeTicks wall_ticks, Reason reason); 48 void RunDoneCBForFramesUpTo(base::TimeTicks wall_ticks, Reason reason);
49 49
50 std::vector<ScheduledFrame> scheduled_frames_; 50 std::vector<ScheduledFrame> scheduled_frames_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(TestVideoFrameScheduler); 52 DISALLOW_COPY_AND_ASSIGN(TestVideoFrameScheduler);
53 }; 53 };
54 54
55 } // namespace media 55 } // namespace media
56 56
57 #endif // MEDIA_FILTERS_TEST_VIDEO_FRAME_SCHEDULER_H_ 57 #endif // MEDIA_FILTERS_TEST_VIDEO_FRAME_SCHEDULER_H_
OLDNEW
« no previous file with comments | « media/filters/skcanvas_video_renderer.cc ('k') | media/filters/video_frame_scheduler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698