| 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 {
|
| + 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;
|
| +
|
| } // namespace media
|
|
|
| #endif // MEDIA_BASE_PIPELINE_STATUS_H_
|
|
|