Index: webrtc/build/ios/SDK/PodTest/PodTest/AppDelegate.m |
diff --git a/webrtc/base/objc/RTCSSLAdapter.mm b/webrtc/build/ios/SDK/PodTest/PodTest/AppDelegate.m |
similarity index 56% |
copy from webrtc/base/objc/RTCSSLAdapter.mm |
copy to webrtc/build/ios/SDK/PodTest/PodTest/AppDelegate.m |
index c881a4487edbd877bc493b429ad91b38ef92a7be..9eaa1682673f01696b2bf02a555873393c21c9e8 100644 |
--- a/webrtc/base/objc/RTCSSLAdapter.mm |
+++ b/webrtc/build/ios/SDK/PodTest/PodTest/AppDelegate.m |
@@ -8,19 +8,19 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#import "RTCSSLAdapter.h" |
+#import "AppDelegate.h" |
+#import <WebRTC/WebRTC.h> |
-#include "webrtc/base/checks.h" |
-#include "webrtc/base/ssladapter.h" |
+@implementation AppDelegate |
-BOOL RTCInitializeSSL() { |
- BOOL initialized = rtc::InitializeSSL(); |
- RTC_DCHECK(initialized); |
- return initialized; |
+- (BOOL)application:(UIApplication *)application |
+ didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { |
+ RTCInitializeSSL(); |
+ return YES; |
} |
-BOOL RTCCleanupSSL() { |
- BOOL cleanedUp = rtc::CleanupSSL(); |
- RTC_DCHECK(cleanedUp); |
- return cleanedUp; |
+- (void)applicationWillTerminate:(UIApplication *)application { |
+ RTCCleanupSSL(); |
} |
+ |
+@end |