summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 16:29:37 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 16:29:37 +0000
commit362d5e2f627d28f68965db12021248bcbfefab4c (patch)
tree8d8492a1193ff36d1da2f633d947ed0b9b640be7 /net
parent3fb484784aa97b89c6f11fc9da035fdfcf58da13 (diff)
downloadchromium_src-362d5e2f627d28f68965db12021248bcbfefab4c.zip
chromium_src-362d5e2f627d28f68965db12021248bcbfefab4c.tar.gz
chromium_src-362d5e2f627d28f68965db12021248bcbfefab4c.tar.bz2
Make description in FTP data connection histogram more accurate.
This is a follow-up after http://codereview.chromium.org/547020 TEST=none BUG=3073 Review URL: http://codereview.chromium.org/553013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/ftp/ftp_network_transaction.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
index 1a7c67f..06c9c25 100644
--- a/net/ftp/ftp_network_transaction.cc
+++ b/net/ftp/ftp_network_transaction.cc
@@ -1177,8 +1177,8 @@ void FtpNetworkTransaction::RecordDataConnectionError(int result) {
// No connection to the internet.
NET_ERROR_INTERNET_DISCONNECTED = 5,
- // Could not resolve the destination address.
- NET_ERROR_ADDRESS_NOT_FOUND = 6,
+ // Could not reach the destination address.
+ NET_ERROR_ADDRESS_UNREACHABLE = 6,
// A programming error in our network stack.
NET_ERROR_UNEXPECTED = 7,
@@ -1212,7 +1212,7 @@ void FtpNetworkTransaction::RecordDataConnectionError(int result) {
break;
case ERR_ADDRESS_INVALID:
case ERR_ADDRESS_UNREACHABLE:
- type = NET_ERROR_ADDRESS_NOT_FOUND;
+ type = NET_ERROR_ADDRESS_UNREACHABLE;
break;
case ERR_UNEXPECTED:
type = NET_ERROR_UNEXPECTED;