| Index: ios/public/provider/chrome/browser/voice/voice_search_language.mm
|
| diff --git a/ios/public/provider/chrome/browser/voice/voice_search_language.mm b/ios/public/provider/chrome/browser/voice/voice_search_language.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..549076021940c5b4f0c0ef6c93c384a0fab4edb1
|
| --- /dev/null
|
| +++ b/ios/public/provider/chrome/browser/voice/voice_search_language.mm
|
| @@ -0,0 +1,31 @@
|
| +// 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.
|
| +
|
| +#import "ios/public/provider/chrome/browser/voice/voice_search_language.h"
|
| +
|
| +#include "base/mac/objc_property_releaser.h"
|
| +
|
| +@implementation VoiceSearchLanguage {
|
| + base::mac::ObjCPropertyReleaser _propertyReleaser_VoiceSearchLanguage;
|
| +}
|
| +
|
| +@synthesize identifier = _identifier;
|
| +@synthesize displayName = _displayName;
|
| +@synthesize localizationPreference = _localizationPreference;
|
| +
|
| +- (instancetype)initWithIdentifier:(NSString*)identifier
|
| + displayName:(NSString*)displayName
|
| + localizationPreference:(NSString*)localizationPreference {
|
| + if ((self = [super init])) {
|
| + _identifier = [identifier copy];
|
| + _displayName = [displayName copy];
|
| + _localizationPreference = [localizationPreference copy];
|
| +
|
| + _propertyReleaser_VoiceSearchLanguage.Init(self,
|
| + [VoiceSearchLanguage class]);
|
| + }
|
| + return self;
|
| +}
|
| +
|
| +@end
|
|
|