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

Unified Diff: media/filters/decrypting_audio_decoder.h

Issue 11342031: Add DecryptingDemuxerStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: needs to add RegisterKeyAddedCB() Created 8 years, 2 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/decrypting_audio_decoder.h
diff --git a/media/filters/decrypting_audio_decoder.h b/media/filters/decrypting_audio_decoder.h
index 533b9a244905ab9c60766d58ec5766233d71df84..bf6fd544e5bcd7d7dc0b7e7a02334a16ee318e7a 100644
--- a/media/filters/decrypting_audio_decoder.h
+++ b/media/filters/decrypting_audio_decoder.h
@@ -68,7 +68,7 @@ class MEDIA_EXPORT DecryptingAudioDecoder : public AudioDecoder {
// TODO(xhwang): Add a ASCII state diagram in this file after this class
// stabilizes.
// TODO(xhwang): Update this diagram for DecryptingAudioDecoder.
- enum DecoderState {
+ enum State {
kUninitialized = 0,
kDecryptorRequested,
kPendingDecoderInit,
@@ -136,7 +136,7 @@ class MEDIA_EXPORT DecryptingAudioDecoder : public AudioDecoder {
scoped_refptr<base::MessageLoopProxy> message_loop_;
// Current state of the DecryptingAudioDecoder.
- DecoderState state_;
+ State state_;
PipelineStatusCB init_cb_;
StatisticsCB statistics_cb_;
« no previous file with comments | « no previous file | media/filters/decrypting_audio_decoder.cc » ('j') | media/filters/decrypting_audio_decoder_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698