chromium/content/test/mock_reduce_accept_language_controller_delegate.cc

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

#include "content/test/mock_reduce_accept_language_controller_delegate.h"

#include <string_view>

#include "base/strings/string_split.h"
#include "content/public/common/origin_util.h"
#include "net/http/http_util.h"
#include "url/gurl.h"

namespace content {

namespace {

std::string GetFirstLanguage(std::string_view language_list) {}

}  // namespace

MockReduceAcceptLanguageControllerDelegate::
    MockReduceAcceptLanguageControllerDelegate(const std::string& languages,
                                               bool is_incognito)
    :{}

MockReduceAcceptLanguageControllerDelegate::
    ~MockReduceAcceptLanguageControllerDelegate() = default;

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

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

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

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

void MockReduceAcceptLanguageControllerDelegate::SetUserAcceptLanguages(
    const std::string& languages) {}

}  // namespace content