#include "third_party/blink/renderer/core/html/track/automatic_track_selection.h"
#include "third_party/blink/renderer/core/html/track/text_track.h"
#include "third_party/blink/renderer/core/html/track/text_track_list.h"
#include "third_party/blink/renderer/platform/language.h"
namespace blink {
class TrackGroup { … };
static int TextTrackLanguageSelectionScore(const TextTrack& track) { … }
static int TextTrackSelectionScore(const TextTrack& track) { … }
AutomaticTrackSelection::AutomaticTrackSelection(
const Configuration& configuration)
: … { … }
const AtomicString& AutomaticTrackSelection::PreferredTrackKind() const { … }
void AutomaticTrackSelection::PerformAutomaticTextTrackSelection(
const TrackGroup& group) { … }
void AutomaticTrackSelection::EnableDefaultMetadataTextTracks(
const TrackGroup& group) { … }
void AutomaticTrackSelection::Perform(TextTrackList& text_tracks) { … }
}