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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m

Issue 1650993004: Add iOS tracing. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: BUILD.gn 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
Index: webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
diff --git a/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m b/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
index 9568b94e77b4051c1ad730e9ae1b86c7f2cfbce7..d815008caee48037bf55168bff7899196af800f6 100644
--- a/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
+++ b/webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m
@@ -10,6 +10,7 @@
#import "ARDAppDelegate.h"
+#import "webrtc/base/objc/RTCTracing.h"
#import "RTCLogging.h"
#import "RTCPeerConnectionFactory.h"
@@ -24,6 +25,7 @@
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[RTCPeerConnectionFactory initializeSSL];
+ RTCSetupInternalTracer();
_window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[_window makeKeyAndVisible];
ARDMainViewController *viewController = [[ARDMainViewController alloc] init];
@@ -46,6 +48,7 @@
}
- (void)applicationWillTerminate:(UIApplication *)application {
+ RTCShutdownInternalTracer();
[RTCPeerConnectionFactory deinitializeSSL];
}
« webrtc/base/objc/RTCTracing.h ('K') | « webrtc/examples/objc/AppRTCDemo/ARDAppClient.m ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698