5 #ifndef PACKAGER_MEDIA_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_
6 #define PACKAGER_MEDIA_FORMATS_WEBM_WEBM_WEBVTT_PARSER_H_
11 #include <packager/macros/classes.h>
19 static void Parse(
const uint8_t* payload,
22 std::string* settings,
23 std::string* content);
31 void Parse(std::string*
id, std::string* settings, std::string* content);
34 bool GetByte(uint8_t*
byte);
40 void ParseLine(std::string* line);
44 const uint8_t*
const ptr_end_;
All the methods that are virtual are virtual for mocking.