summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 02:09:45 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-22 02:09:45 +0000
commita0ef376bf22877060cc8dc324ee9b02414533c30 (patch)
treeb9cbf2b8fb4074a1209a47dafd5010d099700b0e
parent85b2c13bf2ff4621fc87ec2b988cfc215f21156e (diff)
downloadchromium_src-a0ef376bf22877060cc8dc324ee9b02414533c30.zip
chromium_src-a0ef376bf22877060cc8dc324ee9b02414533c30.tar.gz
chromium_src-a0ef376bf22877060cc8dc324ee9b02414533c30.tar.bz2
Remove some old debugging code.
Review URL: http://codereview.chromium.org/501165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35132 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/http/http_network_transaction.cc14
1 files changed, 1 insertions, 13 deletions
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 095cdea..82fdff9 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -637,19 +637,7 @@ int HttpNetworkTransaction::DoInitConnection() {
if (proxy_mode_ != kHTTPProxy)
connection_group.append(request_->url.GetOrigin().spec());
- // TODO(willchan): Downgrade this back to a DCHECK after closing
- // http://crbug.com/15374.
- if (connection_group.empty()) {
- char url_debug[4096];
- base::strlcpy(url_debug,
- request_->url.possibly_invalid_spec().c_str(),
- arraysize(url_debug));
- char url_origin_debug[4096];
- base::strlcpy(url_origin_debug,
- request_->url.GetOrigin().possibly_invalid_spec().c_str(),
- arraysize(url_origin_debug));
- CHECK(false) << "URL: " << url_debug << ", Origin: " << url_origin_debug;
- }
+ DCHECK(!connection_group.empty());
HostResolver::RequestInfo resolve_info(host, port);