#ifndef COMPONENTS_LIVE_CAPTION_PREF_NAMES_H_
#define COMPONENTS_LIVE_CAPTION_PREF_NAMES_H_
#include <string>
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#if !BUILDFLAG(IS_ANDROID)
#include "components/soda/constants.h"
#endif
class PrefService;
namespace prefs {
#if !defined(ANDROID)
inline constexpr char kLiveCaptionBubbleExpanded[] = …;
inline constexpr char kLiveCaptionBubblePinned[] = …;
inline constexpr char kLiveCaptionEnabled[] = …;
inline constexpr char kLiveCaptionLanguageCode[] = …;
inline constexpr char kLiveCaptionMaskOffensiveWords[] = …;
inline constexpr char kLiveCaptionMediaFoundationRendererErrorSilenced[] = …;
#if BUILDFLAG(IS_CHROMEOS_ASH)
inline constexpr char kLiveCaptionUserMicrophoneEnabled[] =
"accessibility.captions.user_microphone_captioning_enabled";
inline constexpr char kUserMicrophoneCaptionLanguageCode[] =
"accessibility.captions.user_microphone_language_code";
const std::string GetUserMicrophoneCaptionLanguage(PrefService* profile_prefs);
bool IsLanguageCodeForMicrophoneCaption(speech::LanguageCode language_code,
PrefService* profile_prefs);
#endif
const std::string GetLiveCaptionLanguageCode(PrefService* profile_prefs);
bool IsLanguageCodeForLiveCaption(speech::LanguageCode language_code,
PrefService* profile_prefs);
#endif
inline constexpr char kAccessibilityCaptionsTextSize[] = …;
inline constexpr char kAccessibilityCaptionsTextFont[] = …;
inline constexpr char kAccessibilityCaptionsTextColor[] = …;
inline constexpr char kAccessibilityCaptionsTextOpacity[] = …;
inline constexpr char kAccessibilityCaptionsBackgroundColor[] = …;
inline constexpr char kAccessibilityCaptionsTextShadow[] = …;
inline constexpr char kAccessibilityCaptionsBackgroundOpacity[] = …;
inline constexpr char kLiveTranslateEnabled[] = …;
inline constexpr char kLiveTranslateTargetLanguageCode[] = …;
}
#endif