| 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 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 bool hashing_enabled_; | 122 bool hashing_enabled_; |
| 123 bool clockless_playback_; | 123 bool clockless_playback_; |
| 124 std::unique_ptr<Demuxer> demuxer_; | 124 std::unique_ptr<Demuxer> demuxer_; |
| 125 std::unique_ptr<DataSource> data_source_; | 125 std::unique_ptr<DataSource> data_source_; |
| 126 std::unique_ptr<PipelineImpl> pipeline_; | 126 std::unique_ptr<PipelineImpl> pipeline_; |
| 127 scoped_refptr<NullAudioSink> audio_sink_; | 127 scoped_refptr<NullAudioSink> audio_sink_; |
| 128 scoped_refptr<ClocklessAudioSink> clockless_audio_sink_; | 128 scoped_refptr<ClocklessAudioSink> clockless_audio_sink_; |
| 129 std::unique_ptr<NullVideoSink> video_sink_; | 129 std::unique_ptr<NullVideoSink> video_sink_; |
| 130 bool ended_; | 130 bool ended_; |
| 131 PipelineStatus pipeline_status_; | 131 PipelineStatus pipeline_status_; |
| 132 PipelineStatus expected_pipeline_status_; |
| 132 Demuxer::EncryptedMediaInitDataCB encrypted_media_init_data_cb_; | 133 Demuxer::EncryptedMediaInitDataCB encrypted_media_init_data_cb_; |
| 133 VideoPixelFormat last_video_frame_format_; | 134 VideoPixelFormat last_video_frame_format_; |
| 134 ColorSpace last_video_frame_color_space_; | 135 ColorSpace last_video_frame_color_space_; |
| 135 DummyTickClock dummy_clock_; | 136 DummyTickClock dummy_clock_; |
| 136 AudioHardwareConfig hardware_config_; | 137 AudioHardwareConfig hardware_config_; |
| 137 PipelineMetadata metadata_; | 138 PipelineMetadata metadata_; |
| 138 | 139 |
| 139 PipelineStatus StartInternal(std::unique_ptr<DataSource> data_source, | 140 PipelineStatus StartInternal(std::unique_ptr<DataSource> data_source, |
| 140 CdmContext* cdm_context, | 141 CdmContext* cdm_context, |
| 141 uint8_t test_type); | 142 uint8_t test_type); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 170 MOCK_METHOD0(OnDurationChange, void()); | 171 MOCK_METHOD0(OnDurationChange, void()); |
| 171 MOCK_METHOD2(OnAddTextTrack, | 172 MOCK_METHOD2(OnAddTextTrack, |
| 172 void(const TextTrackConfig& config, | 173 void(const TextTrackConfig& config, |
| 173 const AddTextTrackDoneCB& done_cb)); | 174 const AddTextTrackDoneCB& done_cb)); |
| 174 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); | 175 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); |
| 175 }; | 176 }; |
| 176 | 177 |
| 177 } // namespace media | 178 } // namespace media |
| 178 | 179 |
| 179 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 180 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
| OLD | NEW |