5 #ifndef PACKAGER_MEDIA_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_ 6 #define PACKAGER_MEDIA_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_ 12 #include "packager/base/macros.h" 20 static void Parse(
const uint8_t* payload,
23 std::string* settings,
24 std::string* content);
32 void Parse(std::string*
id, std::string* settings, std::string* content);
35 bool GetByte(uint8_t* byte);
41 void ParseLine(std::string* line);
45 const uint8_t*
const ptr_end_;
53 #endif // PACKAGER_MEDIA_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_ All the methods that are virtual are virtual for mocking.