Index: Source/devtools/front_end/NetworkRequest.js |
diff --git a/Source/devtools/front_end/NetworkRequest.js b/Source/devtools/front_end/NetworkRequest.js |
index 2270d6ea76ef2313c90078b97b298198005ba198..3fa49156e045d875610b45562b144b79ab4efc4a 100644 |
--- a/Source/devtools/front_end/NetworkRequest.js |
+++ b/Source/devtools/front_end/NetworkRequest.js |
@@ -59,6 +59,8 @@ WebInspector.NetworkRequest = function(requestId, url, documentURL, frameId, loa |
this._frames = []; |
this._responseHeaderValues = {}; |
+ |
+ this._remoteAddress = ""; |
} |
WebInspector.NetworkRequest.Events = { |
@@ -144,6 +146,23 @@ WebInspector.NetworkRequest.prototype = { |
}, |
/** |
+ * @param {string} ip |
+ * @param {number} port |
+ */ |
+ setRemoteAddress: function(ip, port) |
+ { |
+ this._remoteAddress = ip + ":" + port; |
+ }, |
+ |
+ /** |
+ * @return {string} |
+ */ |
+ remoteAddress: function() |
+ { |
+ return this._remoteAddress; |
+ }, |
+ |
+ /** |
* @return {number} |
*/ |
get startTime() |