summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_network_transaction.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 16:19:26 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 16:19:26 +0000
commitdd74b4d035de7833e5085f94a960ac1787edf0d3 (patch)
tree28c36997c89f3e6a9e37d1638533c306b0eba78a /net/ftp/ftp_network_transaction.h
parentea4a9412740c21369fce50ac8fd6322334beca1c (diff)
downloadchromium_src-dd74b4d035de7833e5085f94a960ac1787edf0d3.zip
chromium_src-dd74b4d035de7833e5085f94a960ac1787edf0d3.tar.gz
chromium_src-dd74b4d035de7833e5085f94a960ac1787edf0d3.tar.bz2
Unescape FTP URL paths, Firefox-compatible.
TEST=See bug. BUG=20304 Review URL: http://codereview.chromium.org/200145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_network_transaction.h')
-rw-r--r--net/ftp/ftp_network_transaction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h
index ee9c141..3366c71 100644
--- a/net/ftp/ftp_network_transaction.h
+++ b/net/ftp/ftp_network_transaction.h
@@ -101,6 +101,9 @@ class FtpNetworkTransaction : public FtpTransaction {
// code to be in range 100-599.
static ErrorClass GetErrorClass(int response_code);
+ // Returns request path suitable to be included in an FTP command.
+ std::string GetRequestPathForFtpCommand() const;
+
// Runs the state transition loop.
int DoLoop(int result);