Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: media/base/mock_filters.h

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Rebase. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/mock_media_log.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « media/base/media_log.cc ('k') | media/base/mock_media_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698