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

Unified Diff: trunk/src/chrome/browser/net/preconnect.cc

Issue 192283002: Revert 255858 "Simplify the user agent code some more since afte..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/chrome/browser/net/preconnect.cc
===================================================================
--- trunk/src/chrome/browser/net/preconnect.cc (revision 255866)
+++ trunk/src/chrome/browser/net/preconnect.cc (working copy)
@@ -60,7 +60,7 @@
std::string user_agent;
if (context->http_user_agent_settings())
- user_agent = context->http_user_agent_settings()->GetUserAgent();
+ user_agent = context->http_user_agent_settings()->GetUserAgent(url);
net::HttpRequestInfo request_info;
request_info.url = url;
request_info.method = "GET";

Powered by Google App Engine
This is Rietveld 408576698