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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/RTCIceServer.mm

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #import "RTCIceServer.h" 11 #import "RTCIceServer+Private.h"
12 12 #import "NSString+StdString.h"
13 #import "webrtc/api/objc/RTCIceServer+Private.h"
14 #import "webrtc/base/objc/NSString+StdString.h"
15 13
16 @implementation RTCIceServer 14 @implementation RTCIceServer
17 15
18 @synthesize urlStrings = _urlStrings; 16 @synthesize urlStrings = _urlStrings;
19 @synthesize username = _username; 17 @synthesize username = _username;
20 @synthesize credential = _credential; 18 @synthesize credential = _credential;
21 19
22 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings { 20 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings {
23 NSParameterAssert(urlStrings.count); 21 NSParameterAssert(urlStrings.count);
24 return [self initWithURLStrings:urlStrings 22 return [self initWithURLStrings:urlStrings
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 68 }
71 NSString *username = [NSString stringForStdString:nativeServer.username]; 69 NSString *username = [NSString stringForStdString:nativeServer.username];
72 NSString *credential = [NSString stringForStdString:nativeServer.password]; 70 NSString *credential = [NSString stringForStdString:nativeServer.password];
73 self = [self initWithURLStrings:urls 71 self = [self initWithURLStrings:urls
74 username:username 72 username:username
75 credential:credential]; 73 credential:credential];
76 return self; 74 return self;
77 } 75 }
78 76
79 @end 77 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698