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

Side by Side Diff: media/filters/pipeline_integration_test_base.h

Issue 12096081: Replace VideoRendererBase Get/PutCurrentFrame() with a VideoFrame-containing callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
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_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
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_
OLDNEW
« no previous file with comments | « no previous file | media/filters/pipeline_integration_test_base.cc » ('j') | media/filters/video_renderer_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698