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

Unified Diff: trunk/src/net/url_request/url_request_unittest.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
« no previous file with comments | « trunk/src/net/url_request/url_request_http_job.cc ('k') | trunk/src/webkit/common/user_agent/user_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/url_request/url_request_unittest.cc
===================================================================
--- trunk/src/net/url_request/url_request_unittest.cc (revision 255866)
+++ trunk/src/net/url_request/url_request_unittest.cc (working copy)
@@ -5923,7 +5923,7 @@
&default_context_);
req.Start();
base::RunLoop().Run();
- EXPECT_EQ(req.context()->http_user_agent_settings()->GetUserAgent(),
+ EXPECT_EQ(req.context()->http_user_agent_settings()->GetUserAgent(req.url()),
d.data_received());
}
« no previous file with comments | « trunk/src/net/url_request/url_request_http_job.cc ('k') | trunk/src/webkit/common/user_agent/user_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698