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

Unified Diff: media/base/demuxer.h

Issue 23072043: Change NeedKeyCB to use std::vector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index 81ac33b06526ee5045855125f471ae1f2cdd4a0d..4fc40b52306d5f4ee614f1a45b32df692eb3b5ad 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -29,6 +29,12 @@ class MEDIA_EXPORT DemuxerHost : public DataSourceHost {
class MEDIA_EXPORT Demuxer {
public:
+ // A new potentially encrypted stream has been parsed.
+ // First parameter - The type of initialization data.
+ // Second parameter - The initialization data associated with the stream.
+ typedef base::Callback<void(const std::string& type,
+ const std::vector<uint8>& init_data)> NeedKeyCB;
+
Demuxer();
virtual ~Demuxer();

Powered by Google App Engine
This is Rietveld 408576698