Chromium Code Reviews| Index: net/ftp/ftp_response_info.h |
| diff --git a/net/ftp/ftp_response_info.h b/net/ftp/ftp_response_info.h |
| index 0c8884c6e78c0dda06222892a11db5917fd79fda..4146646b4594267bdee54f4cd3a3c8623588c4e5 100644 |
| --- a/net/ftp/ftp_response_info.h |
| +++ b/net/ftp/ftp_response_info.h |
| @@ -6,6 +6,8 @@ |
| #define NET_FTP_FTP_RESPONSE_INFO_H_ |
| #pragma once |
| +#include <string> |
| + |
| #include "base/time.h" |
| namespace net { |
| @@ -36,6 +38,10 @@ class FtpResponseInfo { |
| // True if the response data is of a directory listing. |
| bool is_directory_listing; |
| + |
| + // Remote address of the socket which fetched this resource. |
| + // Can be "ipv4:port", "[ipv6]:port", or empty. |
| + std::string socket_address; |
|
eroman
2011/02/16 21:41:13
Can you use a HostPortPair here instead. We prefer
|
| }; |
| } // namespace net |