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

Unified Diff: media/filters/pipeline_integration_test_base.h

Issue 806443002: Enable PipelineIntegrationTests in mojo! (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
Index: media/filters/pipeline_integration_test_base.h
diff --git a/media/filters/pipeline_integration_test_base.h b/media/filters/pipeline_integration_test_base.h
index 1c8b5d6bcfc870cbc7646543f30ca1bde3fc78c6..4a85465b44394d063a605556ad02939acfab72c5 100644
--- a/media/filters/pipeline_integration_test_base.h
+++ b/media/filters/pipeline_integration_test_base.h
@@ -59,6 +59,8 @@ class PipelineIntegrationTestBase {
PipelineIntegrationTestBase();
virtual ~PipelineIntegrationTestBase();
+ void Initialize(base::MessageLoop* message_loop);
+
bool WaitUntilOnEnded();
PipelineStatus WaitUntilEndedOrError();
@@ -96,7 +98,7 @@ class PipelineIntegrationTestBase {
base::TimeDelta GetAudioTime();
protected:
- base::MessageLoop message_loop_;
+ base::MessageLoop* message_loop_;
base::MD5Context md5_context_;
bool hashing_enabled_;
bool clockless_playback_;
@@ -130,7 +132,7 @@ class PipelineIntegrationTestBase {
void CreateDemuxer(const std::string& filename);
// Creates and returns a Renderer.
- scoped_ptr<Renderer> CreateRenderer();
+ virtual scoped_ptr<Renderer> CreateRenderer();
void OnVideoFramePaint(const scoped_refptr<VideoFrame>& frame);

Powered by Google App Engine
This is Rietveld 408576698