Index: net/ftp/ftp_network_transaction.h |
diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h |
index e350e16ffb3755b1a5381902cb3df5945d89c947..fc94ae78f53586b388466a6f803ca85553d3813a 100644 |
--- a/net/ftp/ftp_network_transaction.h |
+++ b/net/ftp/ftp_network_transaction.h |
@@ -127,8 +127,9 @@ class NET_EXPORT_PRIVATE FtpNetworkTransaction : public FtpTransaction { |
// Resets the members of the transaction so it can be restarted. |
void ResetStateForRestart(); |
- // Resets the data connection after an error and switches to |next_state|. |
- void ResetDataConnectionAfterError(State next_state); |
+ // Establishes the data connection and switches to |state_after_connect|. |
+ // |state_after_connect| should only be RETR or LIST. |
+ void EstablishDataConnection(State state_after_connect); |
void DoCallback(int result); |
void OnIOComplete(int result); |