chromium/chrome/services/on_device_translation/mock_translator.h

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

#ifndef CHROME_SERVICES_ON_DEVICE_TRANSLATION_MOCK_TRANSLATOR_H_
#define CHROME_SERVICES_ON_DEVICE_TRANSLATION_MOCK_TRANSLATOR_H_

#include "chrome/services/on_device_translation/public/mojom/on_device_translation_service.mojom.h"
#include "chrome/services/on_device_translation/public/mojom/translator.mojom.h"

namespace on_device_translation {

// This is the mock implementation of the translator, it can only "translate"
// text to the same language by echoing the same input as the result.
class MockTranslator : public mojom::Translator {};

}  // namespace on_device_translation

#endif  // CHROME_SERVICES_ON_DEVICE_TRANSLATION_MOCK_TRANSLATOR_H_