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

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: Fix test gyp 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
13 #import "webrtc/api/objc/RTCIceServer+Private.h" 13 #import "NSString+StdString.h"
14 #import "webrtc/base/objc/NSString+StdString.h"
15 14
16 @implementation RTCIceServer 15 @implementation RTCIceServer
17 16
18 @synthesize urlStrings = _urlStrings; 17 @synthesize urlStrings = _urlStrings;
19 @synthesize username = _username; 18 @synthesize username = _username;
20 @synthesize credential = _credential; 19 @synthesize credential = _credential;
21 20
22 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings { 21 - (instancetype)initWithURLStrings:(NSArray<NSString *> *)urlStrings {
23 NSParameterAssert(urlStrings.count); 22 NSParameterAssert(urlStrings.count);
24 return [self initWithURLStrings:urlStrings 23 return [self initWithURLStrings:urlStrings
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 69 }
71 NSString *username = [NSString stringForStdString:nativeServer.username]; 70 NSString *username = [NSString stringForStdString:nativeServer.username];
72 NSString *credential = [NSString stringForStdString:nativeServer.password]; 71 NSString *credential = [NSString stringForStdString:nativeServer.password];
73 self = [self initWithURLStrings:urls 72 self = [self initWithURLStrings:urls
74 username:username 73 username:username
75 credential:credential]; 74 credential:credential];
76 return self; 75 return self;
77 } 76 }
78 77
79 @end 78 @end
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCIceCandidate+Private.h ('k') | webrtc/sdk/objc/Framework/Classes/RTCIceServer+Private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698