| 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
|
|
|