#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 { … }
void LanguagePrefTester::ExpectAcceptLanguagePrefs(
const std::string& expected_prefs) const { … }
void LanguagePrefTester::ExpectSelectedLanguagePrefs(
const std::string& expected_prefs,
const std::string& expected_prefs_chromeos) const { … }
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) { … }
}
}