5 #ifndef MEDIA_BASE_TEXT_TRACK_H_
6 #define MEDIA_BASE_TEXT_TRACK_H_
10 #include "packager/base/callback.h"
11 #include "packager/base/memory/scoped_ptr.h"
12 #include "packager/base/time/time.h"
29 virtual void addWebVTTCue(
const base::TimeDelta& start,
30 const base::TimeDelta& end,
31 const std::string&
id,
32 const std::string& content,
33 const std::string& settings) = 0;
36 typedef base::Callback<scoped_ptr<TextTrack>
38 const std::string& label,
39 const std::string& language)> AddTextTrackCB;
44 #endif // MEDIA_BASE_TEXT_TRACK_H_