#include "chrome/browser/speech/speech_recognition_client_browser_interface.h"
#include <memory>
#include "base/feature_list.h"
#include "base/unguessable_token.h"
#include "build/build_config.h"
#include "chrome/browser/accessibility/live_caption/live_caption_controller_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/live_caption/live_caption_controller.h"
#include "components/live_caption/live_caption_ui_remote_driver.h"
#include "components/live_caption/pref_names.h"
#include "components/prefs/pref_change_registrar.h"
#include "components/prefs/pref_service.h"
#include "components/soda/soda_installer.h"
#include "media/base/media_switches.h"
class PrefChangeRegistrar;
namespace speech {
SpeechRecognitionClientBrowserInterface::
SpeechRecognitionClientBrowserInterface(content::BrowserContext* context) { … }
SpeechRecognitionClientBrowserInterface::
~SpeechRecognitionClientBrowserInterface() { … }
void SpeechRecognitionClientBrowserInterface::BindReceiver(
mojo::PendingReceiver<media::mojom::SpeechRecognitionClientBrowserInterface>
receiver) { … }
void SpeechRecognitionClientBrowserInterface::
BindSpeechRecognitionBrowserObserver(
mojo::PendingRemote<media::mojom::SpeechRecognitionBrowserObserver>
pending_remote) { … }
void SpeechRecognitionClientBrowserInterface::BindRecognizerToRemoteClient(
mojo::PendingReceiver<media::mojom::SpeechRecognitionRecognizerClient>
client_receiver,
mojo::PendingReceiver<media::mojom::SpeechRecognitionSurfaceClient>
surface_client_receiver,
mojo::PendingRemote<media::mojom::SpeechRecognitionSurface> surface_remote,
media::mojom::SpeechRecognitionSurfaceMetadataPtr metadata) { … }
void SpeechRecognitionClientBrowserInterface::OnSodaInstalled(
speech::LanguageCode language_code) { … }
void SpeechRecognitionClientBrowserInterface::
OnSpeechRecognitionAvailabilityChanged() { … }
void SpeechRecognitionClientBrowserInterface::
OnSpeechRecognitionLanguageChanged() { … }
void SpeechRecognitionClientBrowserInterface::
OnSpeechRecognitionMaskOffensiveWordsChanged() { … }
void SpeechRecognitionClientBrowserInterface::NotifyObservers(bool enabled) { … }
}