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

Unified Diff: webrtc/base/objc/RTCSSLAdapter.h

Issue 1558473002: Update API for Objective-C RTCPeerConnectionFactory. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update against master 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/base/base.gyp ('k') | webrtc/base/objc/RTCSSLAdapter.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..11ac8af08ab36c80891ebd96a33297d189e5441c 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 and clean up the SSL library. Failure is fatal. These call the
+ * corresponding functions in webrtc/base/ssladapter.h.
+ */
+BOOL RTCInitializeSSL();
+BOOL RTCCleanupSSL();
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/base/objc/RTCSSLAdapter.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698