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

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

Issue 806443002: Enable PipelineIntegrationTests in mojo! (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix component build. Created 5 years, 11 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/test/pipeline_integration_test.cc ('k') | no next file » | 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_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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 123 }
124 124
125 void OnEnded(); 125 void OnEnded();
126 void OnError(PipelineStatus status); 126 void OnError(PipelineStatus status);
127 void QuitAfterCurrentTimeTask(const base::TimeDelta& quit_time); 127 void QuitAfterCurrentTimeTask(const base::TimeDelta& quit_time);
128 128
129 // Creates Demuxer and sets |demuxer_|. 129 // Creates Demuxer and sets |demuxer_|.
130 void CreateDemuxer(const std::string& filename); 130 void CreateDemuxer(const std::string& filename);
131 131
132 // Creates and returns a Renderer. 132 // Creates and returns a Renderer.
133 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 }; 143 };
144 144
145 } // namespace media 145 } // namespace media
146 146
147 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_ 147 #endif // MEDIA_TEST_PIPELINE_INTEGRATION_TEST_BASE_H_
OLDNEW
« no previous file with comments | « media/test/pipeline_integration_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698