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

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: enhance tests Created 6 years, 5 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
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..3ad688b03bd02baf93351480e545e362622c5f22 100644
--- a/media/filters/pipeline_integration_test_base.cc
+++ b/media/filters/pipeline_integration_test_base.cc
@@ -307,7 +307,14 @@ PipelineIntegrationTestBase::CreateFilterCollection(
void PipelineIntegrationTestBase::SetDecryptor(
Decryptor* decryptor,
const DecryptorReadyCB& decryptor_ready_cb) {
- decryptor_ready_cb.Run(decryptor);
+ decryptor_ready_cb.Run(
ddorwin 2014/08/04 18:59:08 Do we need to confirm (in this function or at a hi
jrummell 2014/08/07 01:54:25 Done.
+ decryptor,
+ base::Bind(&PipelineIntegrationTestBase::DecryptorAttached,
+ base::Unretained(this)));
+}
+
+void PipelineIntegrationTestBase::DecryptorAttached(bool success) {
+ EXPECT_TRUE(success);
}
void PipelineIntegrationTestBase::OnVideoRendererPaint(

Powered by Google App Engine
This is Rietveld 408576698