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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h

Issue 1235563006: Move talk/examples/* to webrtc/examples. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 201508051337 Created 5 years, 4 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/examples/objc/AppRTCDemo/ios/ARDMainView.h
diff --git a/webrtc/base/asyncpacketsocket.cc b/webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h
similarity index 52%
copy from webrtc/base/asyncpacketsocket.cc
copy to webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h
index fe36401f174ea4c67566bb836ce5b5f86096171a..f091ad05b2cf98637450505208aaa231f9b5547b 100644
--- a/webrtc/base/asyncpacketsocket.cc
+++ b/webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.h
@@ -8,22 +8,20 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/base/asyncpacketsocket.h"
+#import <UIKit/UIKit.h>
-namespace rtc {
+@class ARDMainView;
-PacketTimeUpdateParams::PacketTimeUpdateParams()
- : rtp_sendtime_extension_id(-1),
- srtp_auth_tag_len(-1),
- srtp_packet_index(-1) {
-}
+@protocol ARDMainViewDelegate <NSObject>
-PacketTimeUpdateParams::~PacketTimeUpdateParams() = default;
+- (void)mainView:(ARDMainView *)mainView didInputRoom:(NSString *)room;
-AsyncPacketSocket::AsyncPacketSocket() {
-}
+@end
-AsyncPacketSocket::~AsyncPacketSocket() {
-}
+// The main view of AppRTCDemo. It contains an input field for entering a room
+// name on apprtc to connect to.
+@interface ARDMainView : UIView
-}; // namespace rtc
+@property(nonatomic, weak) id<ARDMainViewDelegate> delegate;
+
+@end
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m ('k') | webrtc/examples/objc/AppRTCDemo/ios/ARDMainView.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698