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

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: Created 5 years 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
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 55%
copy from webrtc/api/objc/RTCIceServer+Private.h
copy to webrtc/api/objc/RTCPeerConnectionFactory+Private.h
index 59f5a92dffa10d313b3cdf98c9e2ca0edc081f1a..0fc44ec3b57ba8af8f08a12111e3871ae8643dc4 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 representation of this
tkchin_webrtc 2016/01/06 22:25:15 update comment.
hjon 2016/01/08 01:01:06 Done.
+ * RTCPeerConnectionFactory object's data. This is needed to pass to the
+ * underlying C++ APIs.
*/
@property(nonatomic, readonly)
- webrtc::PeerConnectionInterface::IceServer iceServer;
+ rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> nativeFactory;
@end
« webrtc/api/objc/RTCPeerConnectionFactory.h ('K') | « webrtc/api/objc/RTCPeerConnectionFactory.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698