chromium/chrome/browser/speech/fake_speech_recognizer.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_BROWSER_SPEECH_FAKE_SPEECH_RECOGNIZER_H_
#define CHROME_BROWSER_SPEECH_FAKE_SPEECH_RECOGNIZER_H_

#include "base/memory/weak_ptr.h"
#include "media/base/audio_parameters.h"
#include "media/mojo/mojom/audio_data.mojom.h"
#include "media/mojo/mojom/speech_recognition.mojom.h"
#include "media/mojo/mojom/speech_recognition_service.mojom.h"
#include "mojo/public/cpp/bindings/remote.h"

namespace speech {

// A fake SpeechRecognizer which will be a self owned receiver.  Allows for
// asserting the state of a speech recognition session.
class FakeSpeechRecognizer : public media::mojom::AudioSourceFetcher,
                             public media::mojom::SpeechRecognitionRecognizer {};

}  // namespace speech

#endif  // CHROME_BROWSER_SPEECH_FAKE_SPEECH_RECOGNIZER_H_