#include "chrome/browser/ui/translate/source_language_combobox_model.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/ui/translate/translate_language_list_model.h"
SourceLanguageComboboxModel::SourceLanguageComboboxModel(
int default_index,
TranslateLanguageListModel* model)
: … { … }
SourceLanguageComboboxModel::~SourceLanguageComboboxModel() = default;
size_t SourceLanguageComboboxModel::GetItemCount() const { … }
std::u16string SourceLanguageComboboxModel::GetItemAt(size_t index) const { … }
std::optional<size_t> SourceLanguageComboboxModel::GetDefaultIndex() const { … }