blob: 7bdae17829834f8d346243177c59955d56057950 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module blink.mojom;
import "third_party/blink/public/mojom/speech/speech_recognition_error_code.mojom";
// Used to provide further details about an audio capture related error.
enum SpeechAudioErrorDetails {
kNone,
kNoMic
};
// Used to send information to the renderer about an error in the browser's
// speech recognition engine.
struct SpeechRecognitionError {
blink.mojom.SpeechRecognitionErrorCode code;
blink.mojom.SpeechAudioErrorDetails details;
};