diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 14:37:14 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-02 14:37:14 +0000 |
commit | e5925962c61dbb9c8f5a5425ca2dc2953fb6a3e1 (patch) | |
tree | 4101ee59b290871dd2d0984a7669070a2eff89f7 /net/ftp | |
parent | 43ff60d3580e5dc6c81497e62746b8c4a5d8ab94 (diff) | |
download | chromium_src-e5925962c61dbb9c8f5a5425ca2dc2953fb6a3e1.zip chromium_src-e5925962c61dbb9c8f5a5425ca2dc2953fb6a3e1.tar.gz chromium_src-e5925962c61dbb9c8f5a5425ca2dc2953fb6a3e1.tar.bz2 |
Adds a new error (ERR_NETWORK_ACCESS_DENIED) for when network
operations return an access is denied error.
This is in preparation for adding new error text suggesting
a firewall may be causing the problem, which would be a little
embarrassing to do when an SSPI logon fails, or when trying to
open a local file one doesn't have permissions to.
BUG=57108
TEST=Install firewall, block Chrome, verify that you get
ERR_NETWORK_ACCESS_DENIED. Unblock it, fail an SSPI logon
(Or any other event that should generate an ERR_ACCESS_DENIED)
and verify that you still get an ERR_ACCESS_DENIED.
Review URL: http://codereview.chromium.org/3976004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp')
-rw-r--r-- | net/ftp/ftp_network_transaction.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc index 295754d..bc1c2a9 100644 --- a/net/ftp/ftp_network_transaction.cc +++ b/net/ftp/ftp_network_transaction.cc @@ -1304,6 +1304,7 @@ void FtpNetworkTransaction::RecordDataConnectionError(int result) { type = NET_ERROR_OK; break; case ERR_ACCESS_DENIED: + case ERR_NETWORK_ACCESS_DENIED: type = NET_ERROR_ACCESS_DENIED; break; case ERR_TIMED_OUT: |