bool VideoTrack::isValidKind(const AtomicString& kind) const { return (kind == alternativeKeyword()) || (kind == captionsKeyword()) || (kind == mainKeyword()) || (kind == signKeyword()) || (kind == subtitlesKeyword()) || (kind == commentaryKeyword()); }
bool VideoTrack::isValidKind(const AtomicString& value) const { if (value == alternativeKeyword()) return true; if (value == captionsKeyword()) return true; if (value == mainKeyword()) return true; if (value == signKeyword()) return true; if (value == subtitlesKeyword()) return true; if (value == commentaryKeyword()) return true; return false; }