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

Unified Diff: ios/web/shell/shell_web_client.mm

Issue 2705293014: Created web::UserAgentType. (Closed)
Patch Set: rebase + compile fix 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
« no previous file with comments | « ios/web/shell/shell_web_client.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/shell_web_client.mm
diff --git a/ios/web/shell/shell_web_client.mm b/ios/web/shell/shell_web_client.mm
index 825e9d1f2fb96dc8dbf3b87cb322d693d1555d38..707d0cac4369b64a506f7b8ad262a20f14cae59d 100644
--- a/ios/web/shell/shell_web_client.mm
+++ b/ios/web/shell/shell_web_client.mm
@@ -34,7 +34,7 @@
return "CriOS/36.77.34.45";
}
-std::string ShellWebClient::GetUserAgent(bool desktop_user_agent) const {
+std::string ShellWebClient::GetUserAgent(UserAgentType type) const {
std::string product = GetProduct();
return web::BuildUserAgentFromProduct(product);
}
« no previous file with comments | « ios/web/shell/shell_web_client.h ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698