Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1299)

Unified Diff: net/ftp/ftp_response_info.h

Issue 6488010: Propagate the remote socket address to URLRequest and to ViewHostMsg_FrameNavigate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1b3eede626c7b16d8fe919722013ec840c250309 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, for presenting
+ // to inquisitive users. Can be "ipv4:port", "[ipv6]:port", or empty.
+ std::string socket_address;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698