chromium/components/reduce_accept_language/browser/in_memory_reduce_accept_language_service.cc

// Copyright 2024 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/reduce_accept_language/browser/in_memory_reduce_accept_language_service.h"

#include <optional>
#include <string>
#include <vector>

#include "base/functional/bind.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace reduce_accept_language {

InMemoryReduceAcceptLanguageService::InMemoryReduceAcceptLanguageService(
    const std::vector<std::string>& accept_languages)
    :{}

InMemoryReduceAcceptLanguageService::~InMemoryReduceAcceptLanguageService() =
    default;

std::optional<std::string>
InMemoryReduceAcceptLanguageService::GetReducedLanguage(
    const url::Origin& origin) {}

std::vector<std::string>
InMemoryReduceAcceptLanguageService::GetUserAcceptLanguages() const {}

void InMemoryReduceAcceptLanguageService::PersistReducedLanguage(
    const url::Origin& origin,
    const std::string& language) {}

void InMemoryReduceAcceptLanguageService::ClearReducedLanguage(
    const url::Origin& origin) {}

}  // namespace reduce_accept_language