7 #ifndef PACKAGER_MEDIA_FORMATS_WEBVTT_WEBVTT_FILE_BUFFER_H_ 8 #define PACKAGER_MEDIA_FORMATS_WEBVTT_WEBVTT_FILE_BUFFER_H_ 12 #include "packager/file/file.h" 24 const std::string& style_region_config);
30 bool WriteTo(
File* file);
33 size_t sample_count()
const {
return sample_count_; }
39 const uint32_t transport_stream_timestamp_offset_ = 0;
40 const std::string style_region_config_;
42 size_t sample_count_ = 0;
48 #endif // PACKAGER_MEDIA_FORMATS_WEBVTT_WEBVTT_FILE_BUFFER_H_ Define an abstract file interface.
All the methods that are virtual are virtual for mocking.