Chromium Code Reviews| Index: webrtc/api/objc/RTCRtpEncodingParameters+Private.h |
| diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpEncodingParameters+Private.h |
| similarity index 52% |
| copy from webrtc/base/objc/RTCSSLAdapter.h |
| copy to webrtc/api/objc/RTCRtpEncodingParameters+Private.h |
| index 34db8432c2ffe56640520b7a6f8d902d60ade3df..499f2a1b7e6e2c09d451d3b107cdb9ae1b5e65a6 100644 |
| --- a/webrtc/base/objc/RTCSSLAdapter.h |
| +++ b/webrtc/api/objc/RTCRtpEncodingParameters+Private.h |
| @@ -9,12 +9,20 @@ |
| */ |
| #import <Foundation/Foundation.h> |
| +#import "webrtc/api/objc/RTCRtpEncodingParameters.h" |
|
tkchin_webrtc
2016/04/05 18:48:15
nit: blank line after system imports
skvlad
2016/04/05 23:21:27
Done.
|
| -#import "webrtc/base/objc/RTCMacros.h" |
| +#include "webrtc/api/rtpparameters.h" |
| -/** |
| - * Initialize and clean up the SSL library. Failure is fatal. These call the |
| - * corresponding functions in webrtc/base/ssladapter.h. |
| - */ |
| -RTC_EXPORT BOOL RTCInitializeSSL(); |
| -RTC_EXPORT BOOL RTCCleanupSSL(); |
| +NS_ASSUME_NONNULL_BEGIN |
| + |
| +@interface RTCRtpEncodingParameters () |
| + |
| +@property(nonatomic, readonly) webrtc::RtpEncodingParameters nativeParameters; |
| + |
| +- (instancetype)initWithNativeParameters: |
| + (const webrtc::RtpEncodingParameters&)nativeParameters |
| + NS_DESIGNATED_INITIALIZER; |
| + |
| +@end |
| + |
| +NS_ASSUME_NONNULL_END |