| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <utility> | 12 #include <utility> |
| 13 | 13 |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
| 16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
| 17 #include "net/base/address_list.h" | 17 #include "net/base/address_list.h" |
| 18 #include "net/base/auth.h" | 18 #include "net/base/auth.h" |
| 19 #include "net/dns/host_resolver.h" | 19 #include "net/dns/host_resolver.h" |
| 20 #include "net/ftp/ftp_ctrl_response_buffer.h" | 20 #include "net/ftp/ftp_ctrl_response_buffer.h" |
| 21 #include "net/ftp/ftp_response_info.h" | 21 #include "net/ftp/ftp_response_info.h" |
| 22 #include "net/ftp/ftp_transaction.h" | 22 #include "net/ftp/ftp_transaction.h" |
| 23 #include "net/log/net_log.h" | 23 #include "net/log/net_log_with_source.h" |
| 24 | 24 |
| 25 namespace net { | 25 namespace net { |
| 26 | 26 |
| 27 class ClientSocketFactory; | 27 class ClientSocketFactory; |
| 28 class StreamSocket; | 28 class StreamSocket; |
| 29 | 29 |
| 30 class NET_EXPORT_PRIVATE FtpNetworkTransaction : public FtpTransaction { | 30 class NET_EXPORT_PRIVATE FtpNetworkTransaction : public FtpTransaction { |
| 31 public: | 31 public: |
| 32 FtpNetworkTransaction(HostResolver* resolver, | 32 FtpNetworkTransaction(HostResolver* resolver, |
| 33 ClientSocketFactory* socket_factory); | 33 ClientSocketFactory* socket_factory); |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 254 |
| 255 State next_state_; | 255 State next_state_; |
| 256 | 256 |
| 257 // State to switch to after data connection is complete. | 257 // State to switch to after data connection is complete. |
| 258 State state_after_data_connect_complete_; | 258 State state_after_data_connect_complete_; |
| 259 }; | 259 }; |
| 260 | 260 |
| 261 } // namespace net | 261 } // namespace net |
| 262 | 262 |
| 263 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_ | 263 #endif // NET_FTP_FTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |