| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef NET_FTP_FTP_NETWORK_TRANSACTION_H_ | 5 #ifndef NET_FTP_FTP_NETWORK_TRANSACTION_H_ |
| 6 #define NET_FTP_FTP_NETWORK_TRANSACTION_H_ | 6 #define NET_FTP_FTP_NETWORK_TRANSACTION_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/string16.h" | 14 #include "base/string16.h" |
| 15 #include "net/base/address_list.h" | 15 #include "net/base/address_list.h" |
| 16 #include "net/base/host_resolver.h" | 16 #include "net/base/host_resolver.h" |
| 17 #include "net/base/net_log.h" | 17 #include "net/base/net_log.h" |
| 18 #include "net/base/single_request_host_resolver.h" |
| 18 #include "net/ftp/ftp_ctrl_response_buffer.h" | 19 #include "net/ftp/ftp_ctrl_response_buffer.h" |
| 19 #include "net/ftp/ftp_response_info.h" | 20 #include "net/ftp/ftp_response_info.h" |
| 20 #include "net/ftp/ftp_transaction.h" | 21 #include "net/ftp/ftp_transaction.h" |
| 21 | 22 |
| 22 namespace net { | 23 namespace net { |
| 23 | 24 |
| 24 class ClientSocketFactory; | 25 class ClientSocketFactory; |
| 25 class FtpNetworkSession; | 26 class FtpNetworkSession; |
| 26 class StreamSocket; | 27 class StreamSocket; |
| 27 | 28 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 | 242 |
| 242 scoped_ptr<StreamSocket> ctrl_socket_; | 243 scoped_ptr<StreamSocket> ctrl_socket_; |
| 243 scoped_ptr<StreamSocket> data_socket_; | 244 scoped_ptr<StreamSocket> data_socket_; |
| 244 | 245 |
| 245 State next_state_; | 246 State next_state_; |
| 246 }; | 247 }; |
| 247 | 248 |
| 248 } // namespace net | 249 } // namespace net |
| 249 | 250 |
| 250 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_ | 251 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |