Chromium Code Reviews| 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..f348d2148eafea6576d9b69f245c12e0ceb8553a 100644 |
| --- a/webrtc/base/objc/RTCSSLAdapter.mm |
| +++ b/webrtc/build/ios/SDK/PodTest/PodTest/AppDelegate.m |
| @@ -8,19 +8,18 @@ |
| * 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 { |
|
tkchin_webrtc
2016/03/25 17:46:07
100 char
hjon_webrtc
2016/03/25 21:17:44
Done.
|
| + RTCInitializeSSL(); |
| + return YES; |
| } |
| -BOOL RTCCleanupSSL() { |
| - BOOL cleanedUp = rtc::CleanupSSL(); |
| - RTC_DCHECK(cleanedUp); |
| - return cleanedUp; |
| +- (void)applicationWillTerminate:(UIApplication *)application { |
| + RTCCleanupSSL(); |
| } |
| + |
| +@end |