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

Unified Diff: net/spdy/spdy_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: 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: net/spdy/spdy_network_transaction_unittest.cc
diff --git a/net/spdy/spdy_network_transaction_unittest.cc b/net/spdy/spdy_network_transaction_unittest.cc
index de248cb8528b5bcc4b0883a1f157dff42ccd61f1..402f2f742ddf8f979c0eb5fa776e0fd054f93566 100644
--- a/net/spdy/spdy_network_transaction_unittest.cc
+++ b/net/spdy/spdy_network_transaction_unittest.cc
@@ -177,10 +177,11 @@ class SpdyNetworkTransactionTest
EXPECT_EQ(request_.url.SchemeIs("https"),
response->was_npn_negotiated);
}
+ EXPECT_EQ("192.0.2.33", response->socket_address.host());
+ EXPECT_EQ(0, response->socket_address.port());
output_.status_line = response->headers->GetStatusLine();
output_.response_info = *response; // Make a copy so we can verify.
output_.rv = ReadTransaction(trans_.get(), &output_.response_data);
- return;
}
// Most tests will want to call this function. In particular, the MockReads

Powered by Google App Engine
This is Rietveld 408576698