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

Unified Diff: media/base/decryptor.h

Issue 416333011: Allow setContentDecryptionModule() to get called when setting is done. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: const & 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/base/decryptor.h
diff --git a/media/base/decryptor.h b/media/base/decryptor.h
index 2c2cf793639f05559b83e73e2cc8dece6780a770..10404ea2c4aa4a2fdd0e38f699c2ccda284db79b 100644
--- a/media/base/decryptor.h
+++ b/media/base/decryptor.h
@@ -161,8 +161,9 @@ class MEDIA_EXPORT Decryptor {
DISALLOW_COPY_AND_ASSIGN(Decryptor);
};
-// Callback to notify that a decryptor is ready.
-typedef base::Callback<void(Decryptor*)> DecryptorReadyCB;
+// Callback to notify that a decryptor is ready. base::Closure called when
+// complete.
ddorwin 2014/07/30 22:35:46 When what is complete? When the returned Decryptor
jrummell 2014/08/01 22:09:42 Done.
+typedef base::Callback<void(Decryptor*, const base::Closure&)> DecryptorReadyCB;
// Callback to set/cancel a DecryptorReadyCB.
// Calling this callback with a non-null callback registers decryptor ready

Powered by Google App Engine
This is Rietveld 408576698