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

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

Issue 1553743003: Update API for Objective-C RTCAudioTrack and RTCVideoTrack. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@updateRTCMediaStreamTrack
Patch Set: Get around unused variable error 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/RTCAudioTrack.mm ('k') | webrtc/api/objc/RTCMediaStreamTrack.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCAudioTrack+Private.h
diff --git a/webrtc/base/objc/NSString+StdString.h b/webrtc/api/objc/RTCAudioTrack+Private.h
similarity index 63%
copy from webrtc/base/objc/NSString+StdString.h
copy to webrtc/api/objc/RTCAudioTrack+Private.h
index 8bf6cc94be0346e398ab1a980af6378f06ccb7a5..36f72c7f2560d775d4e120303173ade21487b259 100644
--- a/webrtc/base/objc/NSString+StdString.h
+++ b/webrtc/api/objc/RTCAudioTrack+Private.h
@@ -8,18 +8,17 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import <Foundation/Foundation.h>
+#import "RTCAudioTrack.h"
-#include <string>
+#include "talk/app/webrtc/mediastreaminterface.h"
NS_ASSUME_NONNULL_BEGIN
-@interface NSString (StdString)
+@interface RTCAudioTrack ()
-@property(nonatomic, readonly) std::string stdString;
-
-+ (std::string)stdStringForString:(NSString *)nsString;
-+ (NSString *)stringForStdString:(const std::string&)stdString;
+/** AudioTrackInterface created or passed in at construction. */
+@property(nonatomic, readonly)
+ rtc::scoped_refptr<webrtc::AudioTrackInterface> nativeAudioTrack;
@end
« no previous file with comments | « webrtc/api/objc/RTCAudioTrack.mm ('k') | webrtc/api/objc/RTCMediaStreamTrack.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698