This source file includes following definitions.
- id_
- Matches
#include "media/base/text_track_config.h"
namespace media {
TextTrackConfig::TextTrackConfig()
: kind_(kTextNone) {
}
TextTrackConfig::TextTrackConfig(TextKind kind,
const std::string& label,
const std::string& language,
const std::string& id)
: kind_(kind),
label_(label),
language_(language),
id_(id) {
}
bool TextTrackConfig::Matches(const TextTrackConfig& config) const {
return config.kind() == kind_ &&
config.label() == label_ &&
config.language() == language_ &&
config.id() == id_;
}
}