Chromium Code Reviews| Index: webrtc/base/objc/RTCSSLAdapter.h |
| diff --git a/webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h b/webrtc/base/objc/RTCSSLAdapter.h |
| similarity index 57% |
| copy from webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h |
| copy to webrtc/base/objc/RTCSSLAdapter.h |
| index 8f2a81734229fca65421613794b3ab1accca8c2e..d26a9636fec3853727e6caaa6326c074ca66f1b3 100644 |
| --- a/webrtc/examples/objc/AppRTCDemo/ARDTURNClient.h |
| +++ b/webrtc/base/objc/RTCSSLAdapter.h |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright 2014 The WebRTC Project Authors. All rights reserved. |
| + * Copyright 2016 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,11 +10,9 @@ |
| #import <Foundation/Foundation.h> |
| -@protocol ARDTURNClient <NSObject> |
| - |
| -// Returns TURN server urls if successful. |
| -- (void)requestServersWithCompletionHandler: |
| - (void (^)(NSArray *turnServers, |
| - NSError *error))completionHandler; |
| - |
| -@end |
| +/** |
| + * Initialize & clean up the SSL library. Failure is fatal. These call the |
|
tkchin_webrtc
2016/01/14 01:46:21
nit: and instead of &
hjon
2016/01/14 18:28:34
Done.
|
| + * corresponding functions in webrtc/base/ssladapter.h. |
| + */ |
| +BOOL RTCInitializeSSL(); |
| +BOOL RTCCleanupSSL(); |