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

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: Reference issue 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/RTCMediaConstraints.h
diff --git a/webrtc/api/objc/RTCMediaConstraints.h b/webrtc/api/objc/RTCMediaConstraints.h
index a8ad39142e39449d75e9b7b40bad09fb2c421124..755db5c103a76dcbee8348bdb056d972b7bd6586 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(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

Powered by Google App Engine
This is Rietveld 408576698