Chromium Code Reviews| Index: media/filters/pipeline_integration_test_base.cc |
| diff --git a/media/filters/pipeline_integration_test_base.cc b/media/filters/pipeline_integration_test_base.cc |
| index 54e7f58aea6eabfc780e4f21d3fa376e0fd5d6bf..6a8843996c9c8070fd014fedde014af7192f5441 100644 |
| --- a/media/filters/pipeline_integration_test_base.cc |
| +++ b/media/filters/pipeline_integration_test_base.cc |
| @@ -20,6 +20,7 @@ |
| using ::testing::_; |
| using ::testing::AnyNumber; |
| using ::testing::AtMost; |
| +using ::testing::Eq; |
| using ::testing::SaveArg; |
| namespace media { |
| @@ -307,7 +308,11 @@ PipelineIntegrationTestBase::CreateFilterCollection( |
| void PipelineIntegrationTestBase::SetDecryptor( |
| Decryptor* decryptor, |
| const DecryptorReadyCB& decryptor_ready_cb) { |
| - decryptor_ready_cb.Run(decryptor); |
| + decryptor_ready_cb.Run( |
| + decryptor, |
| + base::Bind(&PipelineIntegrationTestBase::DecryptorAttached, |
| + base::Unretained(this))); |
| + EXPECT_CALL(*this, DecryptorAttached(Eq(true))); |
|
xhwang
2014/08/09 00:56:03
Here and below... Does this work (drop the Eq() pa
jrummell
2014/08/11 21:47:15
Done.
|
| } |
| void PipelineIntegrationTestBase::OnVideoRendererPaint( |