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-11-17 17:00:45 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-17 17:00:45 +0000
commit8b6d757916ca414520e3e1746669a818e43ff249 (patch)
tree2e42bcdfa5d86ce3091203c7fe0a6b2f37332d8f /net/ftp/ftp_network_transaction.h
parent82f32d26c456bea4bf23eb56eff48073dc487feb (diff)
downloadchromium_src-8b6d757916ca414520e3e1746669a818e43ff249.zip
chromium_src-8b6d757916ca414520e3e1746669a818e43ff249.tar.gz
chromium_src-8b6d757916ca414520e3e1746669a818e43ff249.tar.bz2
Add histograms for data connection error types.
The plan is to see how many of them are possibly caused by the passive FTP mode being blocked in the network. TEST=none BUG=3073 Review URL: http://codereview.chromium.org/389023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_network_transaction.h')
-rw-r--r--net/ftp/ftp_network_transaction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ftp/ftp_network_transaction.h b/net/ftp/ftp_network_transaction.h
index 7a3c3cc..8a11947 100644
--- a/net/ftp/ftp_network_transaction.h
+++ b/net/ftp/ftp_network_transaction.h
@@ -163,6 +163,8 @@ class FtpNetworkTransaction : public FtpTransaction {
int DoDataRead();
int DoDataReadComplete(int result);
+ void RecordDataConnectionError(int result);
+
Command command_sent_;
CompletionCallbackImpl<FtpNetworkTransaction> io_callback_;