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

Unified Diff: webrtc/api/objc/RTCStatsReport.mm

Issue 1778033002: Minor ObjC API tweaks. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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/api/objc/RTCStatsReport.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/objc/RTCStatsReport.mm
diff --git a/webrtc/api/objc/RTCStatsReport.mm b/webrtc/api/objc/RTCStatsReport.mm
index b3cd1a19efbf5355a1aa55b3791513092eb985e4..99cdd287b8a66a738b9ff36892ae54bbe2ae8675 100644
--- a/webrtc/api/objc/RTCStatsReport.mm
+++ b/webrtc/api/objc/RTCStatsReport.mm
@@ -20,12 +20,12 @@
@synthesize timestamp = _timestamp;
@synthesize type = _type;
-@synthesize statsId = _statsId;
+@synthesize reportId = _reportId;
@synthesize values = _values;
- (NSString *)description {
return [NSString stringWithFormat:@"RTCStatsReport:\n%@\n%@\n%f\n%@",
- _statsId,
+ _reportId,
_type,
_timestamp,
_values];
@@ -37,7 +37,7 @@
if (self = [super init]) {
_timestamp = nativeReport.timestamp();
_type = [NSString stringForStdString:nativeReport.TypeToString()];
- _statsId = [NSString stringForStdString:
+ _reportId = [NSString stringForStdString:
nativeReport.id()->ToString()];
NSUInteger capacity = nativeReport.values().size();
« no previous file with comments | « webrtc/api/objc/RTCStatsReport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698