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 "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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 virtual scoped_ptr<Renderer> CreateRenderer(); | 133 virtual scoped_ptr<Renderer> CreateRenderer(); |
134 | 134 |
135 void OnVideoFramePaint(const scoped_refptr<VideoFrame>& frame); | 135 void OnVideoFramePaint(const scoped_refptr<VideoFrame>& frame); |
136 | 136 |
137 MOCK_METHOD1(OnMetadata, void(PipelineMetadata)); | 137 MOCK_METHOD1(OnMetadata, void(PipelineMetadata)); |
138 MOCK_METHOD1(OnBufferingStateChanged, void(BufferingState)); | 138 MOCK_METHOD1(OnBufferingStateChanged, void(BufferingState)); |
139 MOCK_METHOD1(DecryptorAttached, void(bool)); | 139 MOCK_METHOD1(DecryptorAttached, void(bool)); |
140 MOCK_METHOD2(OnAddTextTrack, | 140 MOCK_METHOD2(OnAddTextTrack, |
141 void(const TextTrackConfig& config, | 141 void(const TextTrackConfig& config, |
142 const AddTextTrackDoneCB& done_cb)); | 142 const AddTextTrackDoneCB& done_cb)); |
| 143 MOCK_METHOD0(OnWaitingForDecryptionKey, void(void)); |
143 }; | 144 }; |
144 | 145 |
145 } // namespace media | 146 } // namespace media |
146 | 147 |
147 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ | 148 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ |
OLD | NEW |