chromium/components/language/core/common/locale_util.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/language/core/common/locale_util.h"

#include <stddef.h>

#include <string_view>

#include "base/ranges/algorithm.h"
#include "ui/base/l10n/l10n_util.h"

namespace language {

std::pair<std::string_view, std::string_view> SplitIntoMainAndTail(
    std::string_view locale) {}

std::string_view ExtractBaseLanguage(std::string_view language_code) {}

bool ConvertToActualUILocale(std::string* input_locale) {}

}  // namespace language