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

Unified Diff: media/filters/pipeline_integration_test_base.cc

Issue 416333011: Allow setContentDecryptionModule() to get called when setting is done. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + android tweaks Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/pipeline_integration_test_base.h ('k') | media/filters/video_decoder_selector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a6352868faa6c1b961920a933e3818952ae26103 100644
--- a/media/filters/pipeline_integration_test_base.cc
+++ b/media/filters/pipeline_integration_test_base.cc
@@ -307,7 +307,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(true));
}
void PipelineIntegrationTestBase::OnVideoRendererPaint(
« no previous file with comments | « media/filters/pipeline_integration_test_base.h ('k') | media/filters/video_decoder_selector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698