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

Unified Diff: ios/web_view/internal/criwv_web_client.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
« ios/web/public/user_agent.h ('K') | « ios/web_view/internal/criwv_web_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/criwv_web_client.mm
diff --git a/ios/web_view/internal/criwv_web_client.mm b/ios/web_view/internal/criwv_web_client.mm
index 87bef98599b614041b8056d58c94bf44baf21277..ede57cb400e93fe71ad28e88ebf2cbcb2edba47b 100644
--- a/ios/web_view/internal/criwv_web_client.mm
+++ b/ios/web_view/internal/criwv_web_client.mm
@@ -38,7 +38,7 @@
return base::SysNSStringToUTF8([delegate_ partialUserAgent]);
}
-std::string CRIWVWebClient::GetUserAgent(bool desktop_user_agent) const {
+std::string CRIWVWebClient::GetUserAgent(web::UserAgentType type) const {
std::string product = GetProduct();
return web::BuildUserAgentFromProduct(product);
}
« ios/web/public/user_agent.h ('K') | « ios/web_view/internal/criwv_web_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698