1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_VR_MODEL_SPEECH_RECOGNITION_MODEL_H_ 6 #define CHROME_BROWSER_VR_MODEL_SPEECH_RECOGNITION_MODEL_H_ 7 8 #include "base/strings/string16.h" 9 #include "chrome/browser/vr/vr_base_export.h" 10 11 namespace vr { 12 13 struct VR_BASE_EXPORT SpeechRecognitionModel { 14 int speech_recognition_state = 0; 15 bool has_or_can_request_record_audio_permission = true; 16 base::string16 recognition_result; 17 }; 18 19 } // namespace vr 20 21 #endif // CHROME_BROWSER_VR_MODEL_SPEECH_RECOGNITION_MODEL_H_ 22