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

Unified Diff: media/base/stream_parser.h

Issue 10534096: Generalize AesDecryptor to make it more spec compliant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revise on comments. Created 8 years, 6 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/stream_parser.h
diff --git a/media/base/stream_parser.h b/media/base/stream_parser.h
index 22fc0c21e82aee773cba921abbf57e0fa1a492fd..86db588e45cffa5d94506317b435ba5e19ecaf11 100644
--- a/media/base/stream_parser.h
+++ b/media/base/stream_parser.h
@@ -59,7 +59,7 @@ class MEDIA_EXPORT StreamParser {
// Return value - True indicates that the initialization data is accepted.
// False if something was wrong with the initialization data
// and a parsing error should be signalled.
- typedef base::Callback<bool(scoped_array<uint8>, int)> KeyNeededCB;
+ typedef base::Callback<bool(scoped_array<uint8>, int)> NeedKeyCB;
// Initialize the parser with necessary callbacks. Must be called before any
// data is passed to Parse(). |init_cb| will be called once enough data has
@@ -69,7 +69,7 @@ class MEDIA_EXPORT StreamParser {
const NewConfigCB& config_cb,
const NewBuffersCB& audio_cb,
const NewBuffersCB& video_cb,
- const KeyNeededCB& key_needed_cb) = 0;
+ const NeedKeyCB& need_key_cb) = 0;
// Called when a seek occurs. This flushes the current parser state
// and puts the parser in a state where it can receive data for the new seek

Powered by Google App Engine
This is Rietveld 408576698