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

Unified Diff: net/http/http_network_transaction_unittest.cc

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/http/http_network_transaction_unittest.cc
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index 8ac2a6ed232c98b5ff4ac45405d084d2eb7618f3..cf6f46e3fd21c21ab5b643a340d18bf93f0cabb2 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -175,6 +175,8 @@ class HttpNetworkTransactionTest : public PlatformTest {
EXPECT_TRUE(response->headers != NULL);
out.status_line = response->headers->GetStatusLine();
+ EXPECT_EQ("192.0.2.33:0", response->socket_address);
+
rv = ReadTransaction(trans.get(), &out.response_data);
EXPECT_EQ(OK, rv);

Powered by Google App Engine
This is Rietveld 408576698