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

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

Issue 1726213002: Compile rtc_api_objc on Mac. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update TODO format 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
« no previous file with comments | « webrtc/api/objc/RTCIceServer.mm ('k') | webrtc/api/objc/RTCMediaConstraints.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCMediaConstraints.h
diff --git a/webrtc/api/objc/RTCMediaConstraints.h b/webrtc/api/objc/RTCMediaConstraints.h
index a8ad39142e39449d75e9b7b40bad09fb2c421124..1ed456cf4eaca788a9c98993a53eb1d577404d5b 100644
--- a/webrtc/api/objc/RTCMediaConstraints.h
+++ b/webrtc/api/objc/RTCMediaConstraints.h
@@ -11,17 +11,23 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
+// TODO(hjon): Update nullability types. See http://crbug/webrtc/5592
@interface RTCMediaConstraints : NSObject
-- (instancetype)init NS_UNAVAILABLE;
+- (nonnull instancetype)init NS_UNAVAILABLE;
/** Initialize with mandatory and/or optional constraints. */
-- (instancetype)initWithMandatoryConstraints:
- (nullable NSDictionary<NSString *, NSString *> *)mandatory
- optionalConstraints:
- (nullable NSDictionary<NSString *, NSString *> *)optional
+- (nonnull instancetype)initWithMandatoryConstraints:
+ (nullable NSDictionary *)mandatory
+ optionalConstraints:
+ (nullable NSDictionary *)optional
NS_DESIGNATED_INITIALIZER;
+// - (instancetype)initWithMandatoryConstraints:
+// (nullable NSDictionary<NSString *, NSString *> *)mandatory
+// optionalConstraints:
+// (nullable NSDictionary<NSString *, NSString *> *)optional
+// NS_DESIGNATED_INITIALIZER;
@end
« no previous file with comments | « webrtc/api/objc/RTCIceServer.mm ('k') | webrtc/api/objc/RTCMediaConstraints.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698