Index: ios/chrome/browser/ios_chrome_io_thread.mm |
diff --git a/ios/chrome/browser/ios_chrome_io_thread.mm b/ios/chrome/browser/ios_chrome_io_thread.mm |
index 4a768dcaf86cb01be7bc76bc5a4fc0e444ae66be..d58b5594929662f99121446a3f2b34ca9c142cd8 100644 |
--- a/ios/chrome/browser/ios_chrome_io_thread.mm |
+++ b/ios/chrome/browser/ios_chrome_io_thread.mm |
@@ -388,7 +388,8 @@ void OnNetworkChanged( |
globals_->system_cookie_store->SetChannelIDServiceID( |
globals_->system_channel_id_service->GetUniqueID()); |
globals_->http_user_agent_settings.reset(new net::StaticHttpUserAgentSettings( |
- std::string(), web::GetWebClient()->GetUserAgent(false))); |
+ std::string(), |
+ web::GetWebClient()->GetUserAgent(web::UserAgentType::MOBILE))); |
if (command_line.HasSwitch(switches::kIOSTestingFixedHttpPort)) { |
params_.testing_fixed_http_port = |
GetSwitchValueAsInt(command_line, switches::kIOSTestingFixedHttpPort); |