| Index: ios/chrome/browser/voice/speech_input_locale.h
|
| diff --git a/ios/chrome/browser/voice/speech_input_locale.h b/ios/chrome/browser/voice/speech_input_locale.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9fdb10848ea78d047bdd92bef64401e675987796
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/voice/speech_input_locale.h
|
| @@ -0,0 +1,24 @@
|
| +// 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>
|
| +
|
| +#include "base/strings/string16.h"
|
| +
|
| +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)").
|
| + base::string16 display_name;
|
| +} SpeechInputLocale;
|
| +
|
| +} // namespace voice
|
| +
|
| +#endif // IOS_CHROME_BROWSER_VOICE_SPEECH_INPUT_LOCALE_H_
|
|
|