OLD | NEW |
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_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 5 #ifndef MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
6 #define MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 6 #define MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/md5.h" | 11 #include "base/md5.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "media/audio/clockless_audio_sink.h" | 14 #include "media/audio/clockless_audio_sink.h" |
15 #include "media/audio/null_audio_sink.h" | 15 #include "media/audio/null_audio_sink.h" |
16 #include "media/base/demuxer.h" | 16 #include "media/base/demuxer.h" |
17 #include "media/base/media_keys.h" | 17 #include "media/base/media_keys.h" |
18 #include "media/base/null_video_sink.h" | 18 #include "media/base/null_video_sink.h" |
19 #include "media/base/pipeline_impl.h" | 19 #include "media/base/pipeline_impl.h" |
20 #include "media/base/pipeline_status.h" | 20 #include "media/base/pipeline_status.h" |
21 #include "media/base/text_track.h" | 21 #include "media/base/text_track.h" |
22 #include "media/base/text_track_config.h" | 22 #include "media/base/text_track_config.h" |
23 #include "media/base/video_frame.h" | 23 #include "media/base/video_frame.h" |
24 #include "media/renderers/video_renderer_impl.h" | 24 #include "media/renderers/video_renderer_impl.h" |
25 #include "testing/gmock/include/gmock/gmock.h" | 25 #include "testing/gmock/include/gmock/gmock.h" |
26 | 26 |
27 namespace base { | |
28 class FilePath; | |
29 } | |
30 | |
31 namespace media { | 27 namespace media { |
32 | 28 |
33 class AudioDecoder; | 29 class AudioDecoder; |
34 class CdmContext; | 30 class CdmContext; |
35 class VideoDecoder; | 31 class VideoDecoder; |
36 | 32 |
37 // Empty MD5 hash string. Used to verify empty video tracks. | 33 // Empty MD5 hash string. Used to verify empty video tracks. |
38 extern const char kNullVideoHash[]; | 34 extern const char kNullVideoHash[]; |
39 | 35 |
40 // Empty hash string. Used to verify empty audio tracks. | 36 // Empty hash string. Used to verify empty audio tracks. |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 void(const TextTrackConfig& config, | 204 void(const TextTrackConfig& config, |
209 const AddTextTrackDoneCB& done_cb)); | 205 const AddTextTrackDoneCB& done_cb)); |
210 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); | 206 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); |
211 MOCK_METHOD1(OnVideoNaturalSizeChange, void(const gfx::Size&)); | 207 MOCK_METHOD1(OnVideoNaturalSizeChange, void(const gfx::Size&)); |
212 MOCK_METHOD1(OnVideoOpacityChange, void(bool)); | 208 MOCK_METHOD1(OnVideoOpacityChange, void(bool)); |
213 }; | 209 }; |
214 | 210 |
215 } // namespace media | 211 } // namespace media |
216 | 212 |
217 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 213 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
OLD | NEW |