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

Unified Diff: net/quic/test_tools/quic_client_session_peer.cc

Issue 355293003: Restrict QUIC session pool when channel ID is present. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 6 years, 6 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/quic/test_tools/quic_client_session_peer.cc
diff --git a/net/quic/test_tools/quic_client_session_peer.cc b/net/quic/test_tools/quic_client_session_peer.cc
index e88da49e15ec767ed820fb47038663e4d507e6ca..bf6c6c597da10f846ea0e91349a09a2fcc884818 100644
--- a/net/quic/test_tools/quic_client_session_peer.cc
+++ b/net/quic/test_tools/quic_client_session_peer.cc
@@ -17,5 +17,11 @@ void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session,
default_streams);
}
+// static
+void QuicClientSessionPeer::SetChannelIDKey(QuicClientSession* session,
+ ChannelIDKey* channel_id_key) {
+ session->crypto_stream_->channel_id_key_.reset(channel_id_key);
+}
+
} // namespace test
} // namespace net
« net/quic/quic_client_session.cc ('K') | « net/quic/test_tools/quic_client_session_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698