#include <memory>
#include "build/chromeos_buildflags.h"
#include "components/translate/core/browser/mock_translate_client.h"
#include "components/translate/core/browser/translate_prefs.h"
namespace translate {
namespace testing {
#if BUILDFLAG(IS_CHROMEOS_ASH)
const char* preferred_languages_prefs = "settings.language.preferred_languages";
#else
const char* preferred_languages_prefs = …;
#endif
const char* accept_languages_prefs = …;
MockTranslateClient::MockTranslateClient(TranslateDriver* driver,
PrefService* prefs)
: … { … }
MockTranslateClient::~MockTranslateClient() { … }
TranslateDriver* MockTranslateClient::GetTranslateDriver() { … }
PrefService* MockTranslateClient::GetPrefs() { … }
std::unique_ptr<TranslatePrefs> MockTranslateClient::GetTranslatePrefs() { … }
}
}