blob: c90b3e0e51e5bfb1ab0098caf6bb5535c81e9a4c [file] [log] [blame]
// Copyright 2016 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.
#ifndef IOS_CHROME_BROWSER_VOICE_SPEECH_INPUT_LOCALE_H_
#define IOS_CHROME_BROWSER_VOICE_SPEECH_INPUT_LOCALE_H_
#include <string>
namespace voice {
// Struct describing a valid speech input locale.
typedef struct {
// The locale code in canonical form (e.g. "en-US", "fr-FR").
std::string code;
// The display name (e.g. "English U.S.", "Français (France)").
std::u16string display_name;
} SpeechInputLocale;
} // namespace voice
#endif // IOS_CHROME_BROWSER_VOICE_SPEECH_INPUT_LOCALE_H_