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

Unified Diff: media/base/text_track.h

Issue 23702007: Render inband text tracks in the media pipeline (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: incorporate aaron's comments (9/28) Created 7 years, 3 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/text_track.h
diff --git a/media/base/text_track.h b/media/base/text_track.h
index 01a2ed727f90bc3ce9880796185b9ab782536c5d..38d717f4e08a7cbf5231e01ad1047195aa1a18e2 100644
--- a/media/base/text_track.h
+++ b/media/base/text_track.h
@@ -37,6 +37,21 @@ typedef base::Callback<scoped_ptr<TextTrack>
const std::string& label,
const std::string& language)> AddTextTrackCB;
+class DemuxerStream;
+
+typedef base::Callback<void
+ (DemuxerStream* text_stream,
+ scoped_ptr<TextTrack>)> AddTextTrackDoneCB;
+
+// TODO(matthewjheaney): temporary callback name until threading issues
+// have been settled.
+typedef base::Callback<void
+ (DemuxerStream* stream,
+ TextKind kind,
+ const std::string& label,
+ const std::string& language,
+ const AddTextTrackDoneCB& done_cb)> AddTextTrackCB2;
+
} // namespace media
#endif // MEDIA_BASE_TEXT_TRACK_H_

Powered by Google App Engine
This is Rietveld 408576698