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

Unified Diff: talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m

Issue 1241283004: iOS: Move AppRTC logging methods to public headers. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 5 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 | « talk/examples/objc/AppRTCDemo/ARDSDPUtils.m ('k') | talk/examples/objc/AppRTCDemo/ARDWebSocketChannel.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m
diff --git a/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m b/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m
index dc00e8f77c3c8f0528ac7de254ae8a582f5ae00b..4d49a2eada980f63256033245226345ac25b0a0a 100644
--- a/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m
+++ b/talk/examples/objc/AppRTCDemo/ARDSignalingMessage.m
@@ -27,7 +27,8 @@
#import "ARDSignalingMessage.h"
-#import "ARDLogging.h"
+#import "RTCLogging.h"
Chuck 2015/07/23 18:21:45 Should this be grouped with the other RTC headers?
tkchin_webrtc 2015/07/23 18:30:00 No, the ones at the bottom are extensions added by
+
#import "ARDUtilities.h"
#import "RTCICECandidate+JSON.h"
#import "RTCSessionDescription+JSON.h"
@@ -53,7 +54,7 @@ static NSString const *kARDSignalingMessageTypeKey = @"type";
+ (ARDSignalingMessage *)messageFromJSONString:(NSString *)jsonString {
NSDictionary *values = [NSDictionary dictionaryWithJSONString:jsonString];
if (!values) {
- ARDLog(@"Error parsing signaling message JSON.");
+ RTCLogError(@"Error parsing signaling message JSON.");
return nil;
}
@@ -72,7 +73,7 @@ static NSString const *kARDSignalingMessageTypeKey = @"type";
} else if ([typeString isEqualToString:@"bye"]) {
message = [[ARDByeMessage alloc] init];
} else {
- ARDLog(@"Unexpected type: %@", typeString);
+ RTCLogError(@"Unexpected type: %@", typeString);
}
return message;
}
« no previous file with comments | « talk/examples/objc/AppRTCDemo/ARDSDPUtils.m ('k') | talk/examples/objc/AppRTCDemo/ARDWebSocketChannel.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698