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

Side by Side Diff: ios/public/provider/chrome/browser/voice/voice_search_language.mm

Issue 2425713002: [ios] Adds configuration helper files for voice search. (Closed)
Patch Set: Review and file moves. 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
« no previous file with comments | « ios/public/provider/chrome/browser/voice/voice_search_language.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "ios/public/provider/chrome/browser/voice/voice_search_language.h"
6
7 #include "base/mac/objc_property_releaser.h"
8
9 @implementation VoiceSearchLanguage {
10 base::mac::ObjCPropertyReleaser _propertyReleaser_VoiceSearchLanguage;
11 }
12
13 @synthesize identifier = _identifier;
14 @synthesize displayName = _displayName;
15 @synthesize localizationPreference = _localizationPreference;
16
17 - (instancetype)initWithIdentifier:(NSString*)identifier
18 displayName:(NSString*)displayName
19 localizationPreference:(NSString*)localizationPreference {
20 if ((self = [super init])) {
21 _identifier = [identifier copy];
22 _displayName = [displayName copy];
23 _localizationPreference = [localizationPreference copy];
24
25 _propertyReleaser_VoiceSearchLanguage.Init(self,
26 [VoiceSearchLanguage class]);
27 }
28 return self;
29 }
30
31 @end
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/voice/voice_search_language.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698