Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: ios/chrome/browser/ui/voice/speech_input_locale.h

Issue 2425713002: [ios] Adds configuration helper files for voice search. (Closed)
Patch Set: Separate targets. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_UI_VOICE_SPEECH_INPUT_LOCALE_H_
6 #define IOS_CHROME_BROWSER_UI_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_UI_VOICE_SPEECH_INPUT_LOCALE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698