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

Unified Diff: webrtc/api/objc/RTCVideoFrame+Private.h

Issue 1533193003: Move RTCI420Frame with minor style changes. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master 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
« no previous file with comments | « webrtc/api/objc/RTCVideoFrame.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCVideoFrame+Private.h
diff --git a/webrtc/base/objc/NSString+StdString.h b/webrtc/api/objc/RTCVideoFrame+Private.h
similarity index 64%
copy from webrtc/base/objc/NSString+StdString.h
copy to webrtc/api/objc/RTCVideoFrame+Private.h
index 8bf6cc94be0346e398ab1a980af6378f06ccb7a5..954344aee1b9c2095f03277bc1cc4a800e35e1a9 100644
--- a/webrtc/base/objc/NSString+StdString.h
+++ b/webrtc/api/objc/RTCVideoFrame+Private.h
@@ -8,18 +8,16 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import <Foundation/Foundation.h>
+#import "RTCVideoFrame.h"
-#include <string>
+#include "talk/media/base/videoframe.h"
NS_ASSUME_NONNULL_BEGIN
-@interface NSString (StdString)
+@interface RTCVideoFrame ()
-@property(nonatomic, readonly) std::string stdString;
-
-+ (std::string)stdStringForString:(NSString *)nsString;
-+ (NSString *)stringForStdString:(const std::string&)stdString;
+- (instancetype)initWithNativeFrame:(const cricket::VideoFrame *)nativeFrame
+ NS_DESIGNATED_INITIALIZER;
@end
« no previous file with comments | « webrtc/api/objc/RTCVideoFrame.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698