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

Side by Side Diff: media/filters/pipeline_integration_test_base.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/pipeline_integration_test.cc ('k') | media/filters/renderer_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PIPELINE_INTEGRATION_TEST_BASE_H_ 5 #ifndef MEDIA_FILTERS_PIPELINE_INTEGRATION_TEST_BASE_H_
6 #define MEDIA_FILTERS_PIPELINE_INTEGRATION_TEST_BASE_H_ 6 #define MEDIA_FILTERS_PIPELINE_INTEGRATION_TEST_BASE_H_
7 7
8 #include "base/md5.h" 8 #include "base/md5.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "media/audio/clockless_audio_sink.h" 10 #include "media/audio/clockless_audio_sink.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // Empty hash string. Used to verify empty audio tracks. 33 // Empty hash string. Used to verify empty audio tracks.
34 extern const char kNullAudioHash[]; 34 extern const char kNullAudioHash[];
35 35
36 // Dummy tick clock which advances extremely quickly (1 minute every time 36 // Dummy tick clock which advances extremely quickly (1 minute every time
37 // NowTicks() is called). 37 // NowTicks() is called).
38 class DummyTickClock : public base::TickClock { 38 class DummyTickClock : public base::TickClock {
39 public: 39 public:
40 DummyTickClock() : now_() {} 40 DummyTickClock() : now_() {}
41 virtual ~DummyTickClock() {} 41 virtual ~DummyTickClock() {}
42 virtual base::TimeTicks NowTicks() OVERRIDE; 42 virtual base::TimeTicks NowTicks() override;
43 private: 43 private:
44 base::TimeTicks now_; 44 base::TimeTicks now_;
45 }; 45 };
46 46
47 // Integration tests for Pipeline. Real demuxers, real decoders, and 47 // Integration tests for Pipeline. Real demuxers, real decoders, and
48 // base renderer implementations are used to verify pipeline functionality. The 48 // base renderer implementations are used to verify pipeline functionality. The
49 // renderers used in these tests rely heavily on the AudioRendererBase & 49 // renderers used in these tests rely heavily on the AudioRendererBase &
50 // VideoRendererImpl implementations which contain a majority of the code used 50 // VideoRendererImpl implementations which contain a majority of the code used
51 // in the real AudioRendererImpl & SkCanvasVideoRenderer implementations used in 51 // in the real AudioRendererImpl & SkCanvasVideoRenderer implementations used in
52 // the browser. The renderers in this test don't actually write data to a 52 // the browser. The renderers in this test don't actually write data to a
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 MOCK_METHOD1(OnBufferingStateChanged, void(BufferingState)); 140 MOCK_METHOD1(OnBufferingStateChanged, void(BufferingState));
141 MOCK_METHOD1(DecryptorAttached, void(bool)); 141 MOCK_METHOD1(DecryptorAttached, void(bool));
142 MOCK_METHOD2(OnAddTextTrack, 142 MOCK_METHOD2(OnAddTextTrack,
143 void(const TextTrackConfig& config, 143 void(const TextTrackConfig& config,
144 const AddTextTrackDoneCB& done_cb)); 144 const AddTextTrackDoneCB& done_cb));
145 }; 145 };
146 146
147 } // namespace media 147 } // namespace media
148 148
149 #endif // MEDIA_FILTERS_PIPELINE_INTEGRATION_TEST_BASE_H_ 149 #endif // MEDIA_FILTERS_PIPELINE_INTEGRATION_TEST_BASE_H_
OLDNEW
« no previous file with comments | « media/filters/pipeline_integration_test.cc ('k') | media/filters/renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698