Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: net/ftp/ftp_network_transaction.h

Issue 861193007: Do not send PASV until RETR or LIST (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use scoped ptr Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698