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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/RTCConfiguration+Private.h

Issue 2794193002: [iOS] Changed ptr to const ref for RTCConfiguration initialization (Closed)
Patch Set: Created 3 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
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 + (rtc::KeyType)nativeEncryptionKeyTypeForKeyType:(RTCEncryptionKeyType)keyType; 59 + (rtc::KeyType)nativeEncryptionKeyTypeForKeyType:(RTCEncryptionKeyType)keyType;
60 60
61 /** 61 /**
62 * RTCConfiguration struct representation of this RTCConfiguration. This is 62 * RTCConfiguration struct representation of this RTCConfiguration. This is
63 * needed to pass to the underlying C++ APIs. 63 * needed to pass to the underlying C++ APIs.
64 */ 64 */
65 - (webrtc::PeerConnectionInterface::RTCConfiguration *) 65 - (webrtc::PeerConnectionInterface::RTCConfiguration *)
66 createNativeConfiguration; 66 createNativeConfiguration;
67 67
68 - (instancetype)initWithNativeConfiguration: 68 - (instancetype)initWithNativeConfiguration:
69 (const webrtc::PeerConnectionInterface::RTCConfiguration *)config NS_DESIGNA TED_INITIALIZER; 69 (const webrtc::PeerConnectionInterface::RTCConfiguration &)config NS_DESIGNA TED_INITIALIZER;
70 70
71 @end 71 @end
72 72
73 NS_ASSUME_NONNULL_END 73 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/RTCConfiguration.mm ('k') | webrtc/sdk/objc/Framework/Classes/RTCPeerConnection.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698