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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ARDTURNClient.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/ARDTURNClient.h
diff --git a/webrtc/base/scoped_autorelease_pool.mm b/webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h
similarity index 54%
copy from webrtc/base/scoped_autorelease_pool.mm
copy to webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h
index 4176aad0e9cda5016da93017185b163bcfe7ec0e..8f2a81734229fca65421613794b3ab1accca8c2e 100644
--- a/webrtc/base/scoped_autorelease_pool.mm
+++ b/webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 The WebRTC Project Authors. All rights reserved.
+ * Copyright 2014 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -10,16 +10,11 @@
#import <Foundation/Foundation.h>
-#import "webrtc/base/scoped_autorelease_pool.h"
+@protocol ARDTURNClient <NSObject>
-namespace rtc {
+// Returns TURN server urls if successful.
+- (void)requestServersWithCompletionHandler:
+ (void (^)(NSArray *turnServers,
+ NSError *error))completionHandler;
-ScopedAutoreleasePool::ScopedAutoreleasePool() {
- pool_ = [[NSAutoreleasePool alloc] init];
-}
-
-ScopedAutoreleasePool::~ScopedAutoreleasePool() {
- [pool_ drain];
-}
-
-} // namespace rtc
+@end
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ARDSignalingMessage.m ('k') | webrtc/examples/objc/AppRTCDemo/ARDWebSocketChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698