chromium/components/language/core/browser/language_usage_metrics.cc

// Copyright 2014 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/browser/language_usage_metrics.h"

#include <stddef.h>

#include <string_view>

#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/string_tokenizer.h"
#include "components/language/core/browser/url_language_histogram.h"

namespace language {

// static
void LanguageUsageMetrics::RecordAcceptLanguages(
    std::string_view accept_languages) {}

// static
void LanguageUsageMetrics::RecordPageLanguages(
    const language::UrlLanguageHistogram& language_counts) {}

// static
int LanguageUsageMetrics::ToLanguageCodeHash(std::string_view locale) {}

// static
void LanguageUsageMetrics::ParseAcceptLanguages(
    std::string_view accept_languages,
    std::set<int>* languages) {}

}  // namespace language