| 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_BASE_MOCK_FILTERS_H_ | 5 #ifndef MEDIA_BASE_MOCK_FILTERS_H_ |
| 6 #define MEDIA_BASE_MOCK_FILTERS_H_ | 6 #define MEDIA_BASE_MOCK_FILTERS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 // StreamParser interface | 571 // StreamParser interface |
| 572 MOCK_METHOD8( | 572 MOCK_METHOD8( |
| 573 Init, | 573 Init, |
| 574 void(const InitCB& init_cb, | 574 void(const InitCB& init_cb, |
| 575 const NewConfigCB& config_cb, | 575 const NewConfigCB& config_cb, |
| 576 const NewBuffersCB& new_buffers_cb, | 576 const NewBuffersCB& new_buffers_cb, |
| 577 bool ignore_text_track, | 577 bool ignore_text_track, |
| 578 const EncryptedMediaInitDataCB& encrypted_media_init_data_cb, | 578 const EncryptedMediaInitDataCB& encrypted_media_init_data_cb, |
| 579 const NewMediaSegmentCB& new_segment_cb, | 579 const NewMediaSegmentCB& new_segment_cb, |
| 580 const EndMediaSegmentCB& end_of_segment_cb, | 580 const EndMediaSegmentCB& end_of_segment_cb, |
| 581 const scoped_refptr<MediaLog>& media_log)); | 581 MediaLog* media_log)); |
| 582 MOCK_METHOD0(Flush, void()); | 582 MOCK_METHOD0(Flush, void()); |
| 583 MOCK_METHOD2(Parse, bool(const uint8_t*, int)); | 583 MOCK_METHOD2(Parse, bool(const uint8_t*, int)); |
| 584 | 584 |
| 585 private: | 585 private: |
| 586 DISALLOW_COPY_AND_ASSIGN(MockStreamParser); | 586 DISALLOW_COPY_AND_ASSIGN(MockStreamParser); |
| 587 }; | 587 }; |
| 588 | 588 |
| 589 } // namespace media | 589 } // namespace media |
| 590 | 590 |
| 591 #endif // MEDIA_BASE_MOCK_FILTERS_H_ | 591 #endif // MEDIA_BASE_MOCK_FILTERS_H_ |
| OLD | NEW |