summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_ctrl_response_buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/ftp/ftp_ctrl_response_buffer.cc')
-rw-r--r--net/ftp/ftp_ctrl_response_buffer.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/net/ftp/ftp_ctrl_response_buffer.cc b/net/ftp/ftp_ctrl_response_buffer.cc
index 9441f4b..02bbd08 100644
--- a/net/ftp/ftp_ctrl_response_buffer.cc
+++ b/net/ftp/ftp_ctrl_response_buffer.cc
@@ -8,19 +8,6 @@
#include "base/string_util.h"
#include "net/base/net_errors.h"
-namespace {
-
-// TODO(phajdan.jr): Remove when http://crbug.com/18036 is diagnosed.
-void LogResponse(const net::FtpCtrlResponse& response) {
- DLOG(INFO) << "received response with code " << response.status_code;
- for (std::vector<std::string>::const_iterator i = response.lines.begin();
- i != response.lines.end(); ++i) {
- DLOG(INFO) << "line [" << *i << "]";
- }
-}
-
-} // namespace
-
namespace net {
// static
@@ -43,7 +30,6 @@ int FtpCtrlResponseBuffer::ConsumeData(const char* data, int data_length) {
line_buf_ = line.status_text;
} else {
response_buf_.lines.push_back(line.status_text);
- LogResponse(response_buf_);
responses_.push(response_buf_);
// Prepare to handle following lines.
@@ -63,7 +49,6 @@ int FtpCtrlResponseBuffer::ConsumeData(const char* data, int data_length) {
if (!line.is_multiline) {
response_buf_.lines.push_back(line_buf_);
- LogResponse(response_buf_);
responses_.push(response_buf_);
// Prepare to handle following lines.