chromium/components/translate/core/browser/mock_translate_client.cc

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

#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() {}

}  // namespace testing
}  // namespace translate