| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_VOICE_SPEECH_INPUT_LOCALE_H_ |
| 6 #define IOS_CHROME_BROWSER_VOICE_SPEECH_INPUT_LOCALE_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/strings/string16.h" |
| 11 |
| 12 namespace voice { |
| 13 |
| 14 // Struct describing a valid speech input locale. |
| 15 typedef struct { |
| 16 // The locale code in canonical form (e.g. "en-US", "fr-FR"). |
| 17 std::string code; |
| 18 // The display name (e.g. "English U.S.", "Français (France)"). |
| 19 base::string16 display_name; |
| 20 } SpeechInputLocale; |
| 21 |
| 22 } // namespace voice |
| 23 |
| 24 #endif // IOS_CHROME_BROWSER_VOICE_SPEECH_INPUT_LOCALE_H_ |
| OLD | NEW |