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

Unified Diff: media/filters/decrypting_audio_decoder.h

Issue 11492003: Encrypted Media: Support Audio Decrypt-Only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: working and not hacky; need to update comments and tests Created 8 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/decrypting_audio_decoder.h
diff --git a/media/filters/decrypting_audio_decoder.h b/media/filters/decrypting_audio_decoder.h
index 40995a46353d43374ece2d89ba08dfc50fd97f56..a0032af261cd1076b17852b43dfdf23371ee34d1 100644
--- a/media/filters/decrypting_audio_decoder.h
+++ b/media/filters/decrypting_audio_decoder.h
@@ -31,18 +31,6 @@ class Decryptor;
// DecryptingAudioDecoder for audio decoding.
class MEDIA_EXPORT DecryptingAudioDecoder : public AudioDecoder {
public:
- // Callback to notify decryptor creation.
- typedef base::Callback<void(Decryptor*)> DecryptorNotificationCB;
- // Callback to request/cancel decryptor creation notification.
- // Calling this callback with a non-null callback registers decryptor creation
- // notification. When the decryptor is created, notification will be sent
- // through the provided callback.
- // Calling this callback with a null callback cancels previously registered
- // decryptor creation notification. Any previously provided callback will be
- // fired immediately with NULL.
- typedef base::Callback<void(const DecryptorNotificationCB&)>
- RequestDecryptorNotificationCB;
-
DecryptingAudioDecoder(
const scoped_refptr<base::MessageLoopProxy>& message_loop,
const RequestDecryptorNotificationCB& request_decryptor_notification_cb);

Powered by Google App Engine
This is Rietveld 408576698