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

Unified Diff: chrome/common/render_messages_params.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: Address eroman's comments 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: chrome/common/render_messages_params.h
diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h
index e0e7d6bfaaf45ba9ad62b792c9fc086be2a561b6..8a18f1095e4a0d46c110552ef9d974977af80760 100644
--- a/chrome/common/render_messages_params.h
+++ b/chrome/common/render_messages_params.h
@@ -28,6 +28,7 @@
#include "googleurl/src/gurl.h"
#include "ipc/ipc_param_traits.h"
#include "media/audio/audio_parameters.h"
+#include "net/base/host_port_pair.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"
@@ -303,6 +304,9 @@ struct ViewHostMsg_FrameNavigate_Params {
// The status code of the HTTP request.
int http_status_code;
+
+ // Remote address of the socket which fetched this resource.
+ net::HostPortPair socket_address;
};
// Values that may be OR'd together to form the 'flags' parameter of a

Powered by Google App Engine
This is Rietveld 408576698