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

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

Issue 1546783002: Move RTCVideoSource to webrtc/api/objc. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@updateRTCMediaSource
Patch Set: Update comment Created 4 years, 11 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/RTCVideoSource.h
diff --git a/webrtc/api/objc/WebRTC-Prefix.pch b/webrtc/api/objc/RTCVideoSource.h
similarity index 71%
copy from webrtc/api/objc/WebRTC-Prefix.pch
copy to webrtc/api/objc/RTCVideoSource.h
index 990b1602da936a98a04b315411b2487aaaf904e5..47895da7a476e99e72e44d38a2ee34f078bdb0b5 100644
--- a/webrtc/api/objc/WebRTC-Prefix.pch
+++ b/webrtc/api/objc/RTCVideoSource.h
@@ -8,6 +8,14 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
+#import "RTCMediaSource.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface RTCVideoSource : RTCMediaSource
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698