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

Unified Diff: webrtc/api/objc/RTCPeerConnectionFactory+Private.h

Issue 1558473002: Update API for Objective-C RTCPeerConnectionFactory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/objc/RTCPeerConnectionFactory.mm ('k') | webrtc/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCPeerConnectionFactory+Private.h
diff --git a/webrtc/api/objc/RTCIceServer+Private.h b/webrtc/api/objc/RTCPeerConnectionFactory+Private.h
similarity index 56%
copy from webrtc/api/objc/RTCIceServer+Private.h
copy to webrtc/api/objc/RTCPeerConnectionFactory+Private.h
index 59f5a92dffa10d313b3cdf98c9e2ca0edc081f1a..a5f2350ffad6743986b2daa91f9ac5e5b3b5dd76 100644
--- a/webrtc/api/objc/RTCIceServer+Private.h
+++ b/webrtc/api/objc/RTCPeerConnectionFactory+Private.h
@@ -8,20 +8,22 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import "RTCIceServer.h"
+#import "RTCPeerConnectionFactory.h"
-#include "talk/app/webrtc/peerconnectioninterface.h"
+#include "talk/app/webrtc/peerconnectionfactory.h"
+#include "webrtc/base/scoped_ref_ptr.h"
NS_ASSUME_NONNULL_BEGIN
-@interface RTCIceServer ()
+@interface RTCPeerConnectionFactory ()
/**
- * IceServer struct representation of this RTCIceServer object's data.
- * This is needed to pass to the underlying C++ APIs.
+ * PeerConnectionFactoryInterface created and held by this
+ * RTCPeerConnectionFactory object. This is needed to pass to the underlying
+ * C++ APIs.
*/
@property(nonatomic, readonly)
- webrtc::PeerConnectionInterface::IceServer iceServer;
+ rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> nativeFactory;
@end
« no previous file with comments | « webrtc/api/objc/RTCPeerConnectionFactory.mm ('k') | webrtc/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698