#ifndef COMPONENTS_LIVE_CAPTION_CAPTION_UTIL_H_
#define COMPONENTS_LIVE_CAPTION_CAPTION_UTIL_H_
#include <optional>
#include "components/prefs/pref_service.h"
#include "ui/native_theme/caption_style.h"
class PrefService;
namespace captions {
#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || \
BUILDFLAG(IS_MAC)
extern const char kCaptionSettingsUrl[];
#endif
std::optional<ui::CaptionStyle> GetCaptionStyleFromUserSettings(
PrefService* prefs,
bool record_metrics);
bool IsLiveCaptionFeatureSupported();
std::string GetCaptionSettingsUrl();
}
#endif