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

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

Issue 1533193003: Move RTCI420Frame with minor style changes. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update parameter type Created 5 years 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
« webrtc/api/objc/RTCI420Frame.mm ('K') | « webrtc/api/objc/RTCI420Frame.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/RTCI420Frame+Private.h
diff --git a/webrtc/base/objc/NSString+StdString.h b/webrtc/api/objc/RTCI420Frame+Private.h
similarity index 70%
copy from webrtc/base/objc/NSString+StdString.h
copy to webrtc/api/objc/RTCI420Frame+Private.h
index 532032b3fca66977290d612f1e998c205cceef00..b28717e2d356aee869177c43266c0e53ff13d2a4 100644
--- a/webrtc/base/objc/NSString+StdString.h
+++ b/webrtc/api/objc/RTCI420Frame+Private.h
@@ -8,17 +8,16 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import <Foundation/Foundation.h>
+#import "RTCI420Frame.h"
-#include <string>
+#include "talk/media/base/videoframe.h"
NS_ASSUME_NONNULL_BEGIN
-@interface NSString (StdString)
+@interface RTCI420Frame ()
-@property(nonatomic, readonly) std::string stdString;
-
-+ (std::string)stdStringForString:(NSString *)nsString;
+- (instancetype)initWithVideoFrame:(const cricket::VideoFrame *)videoFrame
+ NS_DESIGNATED_INITIALIZER;
@end
« webrtc/api/objc/RTCI420Frame.mm ('K') | « webrtc/api/objc/RTCI420Frame.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698