#include "components/reduce_accept_language/browser/reduce_accept_language_service_test_util.h"
#include <memory>
#include <string>
#include <vector>
#include "base/test/metrics/histogram_tester.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/prefs/pref_service.h"
#include "components/reduce_accept_language/browser/reduce_accept_language_service.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"
ReduceAcceptLanguageService;
namespace reduce_accept_language::test {
ReduceAcceptLanguageServiceTester::ReduceAcceptLanguageServiceTester(
HostContentSettingsMap* settings_map,
ReduceAcceptLanguageService* service,
PrefService* prefs)
: … { … }
void ReduceAcceptLanguageServiceTester::VerifyFetchAcceptLanguageList(
const std::vector<std::string>& expected_languages) const { … }
void ReduceAcceptLanguageServiceTester::VerifyPersistFail(
const GURL& host,
const std::string& language) const { … }
void ReduceAcceptLanguageServiceTester::VerifyPersistSuccessOnJavaScriptDisable(
const GURL& host,
const std::string& language) const { … }
void ReduceAcceptLanguageServiceTester::VerifyPersistSuccess(
const GURL& host,
const std::string& language) const { … }
void ReduceAcceptLanguageServiceTester::VerifyPersistMultipleHostsSuccess(
const std::vector<GURL>& hosts,
const std::vector<std::string>& languages) const { … }
}