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

Unified Diff: ios/chrome/browser/net/ios_chrome_http_user_agent_settings.mm

Issue 2705293014: Created web::UserAgentType. (Closed)
Patch Set: self review Created 3 years, 10 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: ios/chrome/browser/net/ios_chrome_http_user_agent_settings.mm
diff --git a/ios/chrome/browser/net/ios_chrome_http_user_agent_settings.mm b/ios/chrome/browser/net/ios_chrome_http_user_agent_settings.mm
index 6a4c675bd02c9c6109a7101654e5428e8aefc63f..8344788fc2af652fc7ffe05c7ca7120d76dbfedc 100644
--- a/ios/chrome/browser/net/ios_chrome_http_user_agent_settings.mm
+++ b/ios/chrome/browser/net/ios_chrome_http_user_agent_settings.mm
@@ -47,5 +47,5 @@
std::string IOSChromeHttpUserAgentSettings::GetUserAgent() const {
DCHECK_CURRENTLY_ON(web::WebThread::IO);
- return web::GetWebClient()->GetUserAgent(false);
+ return web::GetWebClient()->GetUserAgent(web::UserAgentType::MOBILE);
}

Powered by Google App Engine
This is Rietveld 408576698