Chromium Code Reviews| Index: net/ftp/ftp_network_transaction.h |
| diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h |
| index 447d2714c8b85bd43e670e1e90235981743afdcb..25bc02af046723d7e8c40e257641ebef6934282a 100644 |
| --- a/net/ftp/ftp_network_transaction.h |
| +++ b/net/ftp/ftp_network_transaction.h |
| @@ -85,6 +85,9 @@ class FtpNetworkTransaction : public FtpTransaction { |
| ERROR_CLASS_PERMANENT_ERROR, |
| }; |
| + // Resets the members of the transaction so it can be restarted. |
| + void ResetStateForRestart(); |
| + |
| void DoCallback(int result); |
| void OnIOComplete(int result); |
| @@ -167,7 +170,7 @@ class FtpNetworkTransaction : public FtpTransaction { |
| // User buffer passed to the Read method for control socket. |
| scoped_refptr<IOBuffer> read_ctrl_buf_; |
| - FtpCtrlResponseBuffer ctrl_response_buffer_; |
| + scoped_ptr<FtpCtrlResponseBuffer> ctrl_response_buffer_; |
| scoped_refptr<IOBuffer> read_data_buf_; |
| int read_data_buf_len_; |
| @@ -186,7 +189,8 @@ class FtpNetworkTransaction : public FtpTransaction { |
| int last_error_; |
| - bool is_anonymous_; |
| + std::wstring username_; |
| + std::wstring password_; |
|
wtc
2009/08/25 20:52:50
Nit: add a blank line to separate these from retr_
|
| bool retr_failed_; |
| std::string data_connection_ip_; |