| 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_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/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/md5.h" | 9 #include "base/md5.h" |
| 10 #include "media/audio/null_audio_sink.h" | 10 #include "media/audio/null_audio_sink.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 PipelineStatus status); | 81 PipelineStatus status); |
| 82 void OnStatusCallback(PipelineStatus status); | 82 void OnStatusCallback(PipelineStatus status); |
| 83 PipelineStatusCB QuitOnStatusCB(PipelineStatus expected_status); | 83 PipelineStatusCB QuitOnStatusCB(PipelineStatus expected_status); |
| 84 void OnEnded(); | 84 void OnEnded(); |
| 85 void OnError(PipelineStatus status); | 85 void OnError(PipelineStatus status); |
| 86 void QuitAfterCurrentTimeTask(const base::TimeDelta& quit_time); | 86 void QuitAfterCurrentTimeTask(const base::TimeDelta& quit_time); |
| 87 scoped_ptr<FilterCollection> CreateFilterCollection( | 87 scoped_ptr<FilterCollection> CreateFilterCollection( |
| 88 const scoped_refptr<Demuxer>& demuxer, Decryptor* decryptor); | 88 const scoped_refptr<Demuxer>& demuxer, Decryptor* decryptor); |
| 89 void SetDecryptor(Decryptor* decryptor, | 89 void SetDecryptor(Decryptor* decryptor, |
| 90 const DecryptorReadyCB& decryptor_ready_cb); | 90 const DecryptorReadyCB& decryptor_ready_cb); |
| 91 void OnVideoRendererPaint(); | 91 void OnVideoRendererPaint(const scoped_refptr<VideoFrame>& frame); |
| 92 | 92 |
| 93 MOCK_METHOD1(OnSetOpaque, void(bool)); | 93 MOCK_METHOD1(OnSetOpaque, void(bool)); |
| 94 MOCK_METHOD1(OnBufferingState, void(Pipeline::BufferingState)); | 94 MOCK_METHOD1(OnBufferingState, void(Pipeline::BufferingState)); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace media | 97 } // namespace media |
| 98 | 98 |
| 99 #endif // MEDIA_FILTERS_PIPELINE_INTEGRATION_TEST_BASE_H_ | 99 #endif // MEDIA_FILTERS_PIPELINE_INTEGRATION_TEST_BASE_H_ |
| OLD | NEW |