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

Unified Diff: net/url_request/url_request.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/tools/tld_cleanup/tld_cleanup_util.cc ('k') | net/websockets/websocket_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index dbff821796eeb8426ac78dad933043717ab3ceb7..97308b585e39610fd01709b7825dce31b2eba49a 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -1072,10 +1072,9 @@ bool URLRequest::GetHSTSRedirect(GURL* redirect_url) const {
SSLConfigService::IsSNIAvailable(context()->ssl_config_service()),
&domain_state) &&
domain_state.ShouldUpgradeToSSL()) {
- url_canon::Replacements<char> replacements;
+ url::Replacements<char> replacements;
const char kNewScheme[] = "https";
- replacements.SetScheme(kNewScheme,
- url_parse::Component(0, strlen(kNewScheme)));
+ replacements.SetScheme(kNewScheme, url::Component(0, strlen(kNewScheme)));
*redirect_url = url.ReplaceComponents(replacements);
return true;
}
« no previous file with comments | « net/tools/tld_cleanup/tld_cleanup_util.cc ('k') | net/websockets/websocket_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698