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

Unified Diff: net/http/http_stream_factory.cc

Issue 255333003: Renamed namespaces in src/net. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue 04/29/2014 19:22:06.75 Created 6 years, 8 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 | « net/dns/dns_config_service_win.cc ('k') | net/proxy/proxy_bypass_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.cc
diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
index 587450f0cbeca95afea6c118f05aaad1f119b743..e16c9f0568ff42d287bc33bc346ab8a6473ea4cd 100644
--- a/net/http/http_stream_factory.cc
+++ b/net/http/http_stream_factory.cc
@@ -124,12 +124,11 @@ GURL HttpStreamFactory::ApplyHostMappingRules(const GURL& url,
HostPortPair* endpoint) {
const HostMappingRules* mapping_rules = GetHostMappingRules();
if (mapping_rules && mapping_rules->RewriteHost(endpoint)) {
- url_canon::Replacements<char> replacements;
+ url::Replacements<char> replacements;
const std::string port_str = base::IntToString(endpoint->port());
- replacements.SetPort(port_str.c_str(),
- url_parse::Component(0, port_str.size()));
+ replacements.SetPort(port_str.c_str(), url::Component(0, port_str.size()));
replacements.SetHost(endpoint->host().c_str(),
- url_parse::Component(0, endpoint->host().size()));
+ url::Component(0, endpoint->host().size()));
return url.ReplaceComponents(replacements);
}
return url;
« no previous file with comments | « net/dns/dns_config_service_win.cc ('k') | net/proxy/proxy_bypass_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698