Index: ios/web/navigation/crw_session_entry.mm |
diff --git a/ios/web/navigation/crw_session_entry.mm b/ios/web/navigation/crw_session_entry.mm |
index 2462bfc6cc481a509c70041ab2a52f07f8df2bb2..bd6e24bb7bab3c6bcc81ad09cc0f6c4b49e8435e 100644 |
--- a/ios/web/navigation/crw_session_entry.mm |
+++ b/ios/web/navigation/crw_session_entry.mm |
@@ -53,14 +53,15 @@ - (NSString*)description { |
return [NSString |
stringWithFormat: |
@"url:%@ originalurl:%@ title:%@ transition:%d displayState:%@ " |
- @"desktopUA:%d", |
+ @"userAgentType:%s", |
base::SysUTF8ToNSString(_navigationItem->GetURL().spec()), |
base::SysUTF8ToNSString( |
_navigationItem->GetOriginalRequestURL().spec()), |
base::SysUTF16ToNSString(_navigationItem->GetTitle()), |
_navigationItem->GetTransitionType(), |
_navigationItem->GetPageDisplayState().GetDescription(), |
- _navigationItem->IsOverridingUserAgent()]; |
+ web::GetUserAgentTypeDescription(_navigationItem->GetUserAgentType()) |
+ .c_str()]; |
} |
- (web::NavigationItem*)navigationItem { |