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

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 2464603002: Break reliance of QuicDispatcher on QuicServerSessionBase (Closed)
Patch Set: Updated patchset dependency Created 4 years, 2 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
« no previous file with comments | « net/quic/core/quic_server_session_base.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/end_to_end_test.cc
diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
index ff6465ce3c05e6b0fd09cc1e997ec68ba60caa9e..dedfd3fe2889561f17cff692ebb895883c66382c 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -1818,8 +1818,8 @@ TEST_P(EndToEndTest, FlowControlsSynced) {
QuicSpdySession* const client_session = client_->client()->session();
QuicDispatcher* dispatcher =
QuicServerPeer::GetDispatcher(server_thread_->server());
- QuicSpdySession* server_session =
- dispatcher->session_map().begin()->second.get();
+ auto server_session = static_cast<QuicSpdySession*>(
+ dispatcher->session_map().begin()->second.get());
ExpectFlowControlsSynced(client_session->flow_controller(),
server_session->flow_controller());
@@ -2460,7 +2460,7 @@ TEST_P(EndToEndTest, EarlyResponseFinRecording) {
QuicDispatcherPeer::session_map(dispatcher);
QuicDispatcher::SessionMap::const_iterator it = map.begin();
EXPECT_TRUE(it != map.end());
- QuicServerSessionBase* server_session = it->second.get();
+ QuicSession* server_session = it->second.get();
// The stream is not waiting for the arrival of the peer's final offset.
EXPECT_EQ(
« no previous file with comments | « net/quic/core/quic_server_session_base.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698