// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SODA_SODA_INSTALLER_H_ #define COMPONENTS_SODA_SODA_INSTALLER_H_ #include <set> #include <string> #include "base/component_export.h" #include "base/containers/flat_map.h" #include "base/files/file_path.h" #include "base/observer_list.h" #include "components/prefs/pref_registry_simple.h" #include "components/soda/constants.h" class PrefService; namespace speech { // Installer of SODA (Speech On-Device API). This is a singleton because there // is only one installation of SODA per device. // SODA is not supported on some Chrome OS devices. Chrome OS callers should // check if ash::features::kOnDeviceSpeechRecognition is enabled before // trying to access the SodaInstaller instance. class COMPONENT_EXPORT(SODA_INSTALLER) SodaInstaller { … }; } // namespace speech #endif // COMPONENTS_SODA_SODA_INSTALLER_H_