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

Unified Diff: net/socket_stream/socket_stream_job.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/quic/crypto/crypto_utils.cc ('k') | net/tools/tld_cleanup/tld_cleanup_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket_stream/socket_stream_job.cc
diff --git a/net/socket_stream/socket_stream_job.cc b/net/socket_stream/socket_stream_job.cc
index f2de82324ac69b1a8a1e8c9ebae3446757a4c4e1..0bd702686bd7db13b437e04f0e73f1b9973911fc 100644
--- a/net/socket_stream/socket_stream_job.cc
+++ b/net/socket_stream/socket_stream_job.cc
@@ -32,10 +32,9 @@ SocketStreamJob* SocketStreamJob::CreateSocketStreamJob(
if (url.scheme() == "ws" && sts && sts->GetDomainState(
url.host(), SSLConfigService::IsSNIAvailable(ssl), &domain_state) &&
domain_state.ShouldUpgradeToSSL()) {
- url_canon::Replacements<char> replacements;
+ url::Replacements<char> replacements;
static const char kNewScheme[] = "wss";
- replacements.SetScheme(kNewScheme,
- url_parse::Component(0, strlen(kNewScheme)));
+ replacements.SetScheme(kNewScheme, url::Component(0, strlen(kNewScheme)));
socket_url = url.ReplaceComponents(replacements);
}
return SocketStreamJobManager::GetInstance()->CreateJob(
« no previous file with comments | « net/quic/crypto/crypto_utils.cc ('k') | net/tools/tld_cleanup/tld_cleanup_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698