Chromium Code Reviews| Index: media/base/pipeline_status.h |
| diff --git a/media/base/pipeline_status.h b/media/base/pipeline_status.h |
| index c208d01d583b0b971668ed13c8dd3941782e1adc..494972c180df2e949ec2f8b467e48f527a5e25c7 100644 |
| --- a/media/base/pipeline_status.h |
| +++ b/media/base/pipeline_status.h |
| @@ -60,6 +60,21 @@ struct PipelineStatistics { |
| // Used for updating pipeline statistics. |
| typedef base::Callback<void(const PipelineStatistics&)> StatisticsCB; |
| +// Specifies the varieties of text tracks. |
| +enum TextKind { |
|
acolwell GONE FROM CHROMIUM
2013/04/05 16:29:23
nit: This doesn't seem like the right home for thi
Matthew Heaney (Chromium)
2013/05/08 19:53:00
Done.
|
| + kTextSubtitles, |
| + kTextCaptions, |
| + kTextDescriptions, |
| + kTextMetadata, |
| + kTextNone |
| +}; |
| + |
| +// So pipeline can notify media player about presence of text tracks. |
| +// TODO(matthewjheaney): Might have to also include track number, etc. |
| +typedef base::Callback<void(TextKind kind, |
| + const std::string& label, |
| + const std::string& language)> TextTrackCB; |
|
acolwell GONE FROM CHROMIUM
2013/04/05 16:29:23
nit:s/TextTrackCB/AddTextTrackCB
It seems like th
Matthew Heaney (Chromium)
2013/05/08 19:53:00
Can you elaborate a bit on this? We're still a li
acolwell GONE FROM CHROMIUM
2013/05/08 20:51:29
Sure. At this point I think the return type should
|
| + |
| } // namespace media |
| #endif // MEDIA_BASE_PIPELINE_STATUS_H_ |