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

Unified Diff: webrtc/api/objc/RTCSessionDescription.h

Issue 1696673003: Tweaks for new Objective-C API. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Couple more tweaks after updating against master Created 4 years, 10 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
Index: webrtc/api/objc/RTCSessionDescription.h
diff --git a/webrtc/api/objc/RTCSessionDescription.h b/webrtc/api/objc/RTCSessionDescription.h
index 5f00b1c9f4c2ff4ba87f89d360e3a491ac9b761e..d7547d7ef45cc688a928938057b97893b437b71b 100644
--- a/webrtc/api/objc/RTCSessionDescription.h
+++ b/webrtc/api/objc/RTCSessionDescription.h
@@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface RTCSessionDescription : NSObject
/** The type of session description. */
-@property(nonatomic, readonly) RTCSdpType type;
+@property(nonatomic, assign, readonly) RTCSdpType type;
tkchin_webrtc 2016/02/26 00:45:25 ditto no assign + readonly
/** The SDP string representation of this session description. */
@property(nonatomic, readonly) NSString *sdp;
@@ -36,6 +36,10 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithType:(RTCSdpType)type sdp:(NSString *)sdp
NS_DESIGNATED_INITIALIZER;
++ (NSString *)stringForType:(RTCSdpType)type;
+
++ (RTCSdpType)typeForString:(NSString *)string;
+
@end
NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698