| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/ftp/ftp_network_transaction.h" | 5 #include "net/ftp/ftp_network_transaction.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "base/utf_string_conversions.h" |
| 11 #include "net/base/io_buffer.h" | 12 #include "net/base/io_buffer.h" |
| 12 #include "net/base/mock_host_resolver.h" | 13 #include "net/base/mock_host_resolver.h" |
| 13 #include "net/base/net_util.h" | 14 #include "net/base/net_util.h" |
| 14 #include "net/base/sys_addrinfo.h" | 15 #include "net/base/sys_addrinfo.h" |
| 15 #include "net/base/test_completion_callback.h" | 16 #include "net/base/test_completion_callback.h" |
| 16 #include "net/ftp/ftp_network_session.h" | 17 #include "net/ftp/ftp_network_session.h" |
| 17 #include "net/ftp/ftp_request_info.h" | 18 #include "net/ftp/ftp_request_info.h" |
| 18 #include "net/socket/socket_test_util.h" | 19 #include "net/socket/socket_test_util.h" |
| 19 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| 20 #include "testing/platform_test.h" | 21 #include "testing/platform_test.h" |
| (...skipping 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1340 FtpSocketDataProviderFileDownload ctrl_socket; | 1341 FtpSocketDataProviderFileDownload ctrl_socket; |
| 1341 TransactionFailHelper(&ctrl_socket, | 1342 TransactionFailHelper(&ctrl_socket, |
| 1342 "ftp://host/file", | 1343 "ftp://host/file", |
| 1343 FtpSocketDataProvider::PRE_PWD, | 1344 FtpSocketDataProvider::PRE_PWD, |
| 1344 FtpSocketDataProvider::PRE_TYPE, | 1345 FtpSocketDataProvider::PRE_TYPE, |
| 1345 "257 \"\"\r\n", | 1346 "257 \"\"\r\n", |
| 1346 OK); | 1347 OK); |
| 1347 } | 1348 } |
| 1348 | 1349 |
| 1349 } // namespace net | 1350 } // namespace net |
| OLD | NEW |