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

// Copyright 2020 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_prefs_test_util.h"

#include "base/strings/string_util.h"
#include "build/chromeos_buildflags.h"
#include "components/language/core/browser/pref_names.h"
#include "components/prefs/pref_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace language {
namespace test {

LanguagePrefTester::LanguagePrefTester(PrefService* user_prefs)
    :{}

void LanguagePrefTester::ExpectPref(
    const std::string& pref_name,
    const std::string& expected_prefs,
    const std::string& expected_prefs_chromeos) const {}

void LanguagePrefTester::ExpectAcceptLanguagePrefs(
    const std::string& expected_prefs,
    const std::string& expected_prefs_chromeos) const {}

// Similar to function above: this one expects both ChromeOS and other
// platforms to have the same value of language prefs.
void LanguagePrefTester::ExpectAcceptLanguagePrefs(
    const std::string& expected_prefs) const {}

void LanguagePrefTester::ExpectSelectedLanguagePrefs(
    const std::string& expected_prefs,
    const std::string& expected_prefs_chromeos) const {}

// Similar to function above: this one expects both ChromeOS and other
// platforms to have the same value of language prefs.
void LanguagePrefTester::ExpectSelectedLanguagePrefs(
    const std::string& expected_prefs) const {}

void LanguagePrefTester::SetLanguagePrefs(
    const std::vector<std::string>& languages) {}

void LanguagePrefTester::SetForcedLanguagePrefs(
    std::vector<std::string>&& languages) {}

}  // namespace test
}  // namespace language