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

Unified Diff: media/base/decryptor.h

Issue 11226019: Encrypted Media: Replace DecryptorClient with key event callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | media/base/mock_filters.h » ('j') | media/crypto/aes_decryptor.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decryptor.h
diff --git a/media/base/decryptor.h b/media/base/decryptor.h
index 92a3a090f09d4dc32305e50e08e1fbf54e190b76..c4f934a649385b5daa362dda47577f92bac3fd23 100644
--- a/media/base/decryptor.h
+++ b/media/base/decryptor.h
@@ -118,17 +118,17 @@ class MEDIA_EXPORT Decryptor {
typedef base::Callback<void(bool)> DecoderInitCB;
// Indicates that a key has been added to the Decryptor.
- typedef base::Callback<void()> KeyAddedCB;
+ typedef base::Callback<void()> OnKeyAddedCB;
// Initializes a decoder with the given |config|, executing the |init_cb|
// upon completion.
// |key_added_cb| should be called when a key is added to the decryptor.
virtual void InitializeAudioDecoder(scoped_ptr<AudioDecoderConfig> config,
const DecoderInitCB& init_cb,
- const KeyAddedCB& key_added_cb) = 0;
+ const OnKeyAddedCB& key_added_cb) = 0;
virtual void InitializeVideoDecoder(scoped_ptr<VideoDecoderConfig> config,
const DecoderInitCB& init_cb,
- const KeyAddedCB& key_added_cb) = 0;
+ const OnKeyAddedCB& key_added_cb) = 0;
// Helper structure for managing multiple decoded audio buffers per input.
typedef std::list<scoped_refptr<Buffer> > AudioBuffers;
« no previous file with comments | « no previous file | media/base/mock_filters.h » ('j') | media/crypto/aes_decryptor.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698