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

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

Issue 397803004: Reimplement QuicCryptoClientStream::WasChannelIDSent with a boolean (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 bf6c6c597da10f846ea0e91349a09a2fcc884818..e111d8901ccfb6257683372ff3421fe151a8695f 100644
--- a/net/quic/test_tools/quic_client_session_peer.cc
+++ b/net/quic/test_tools/quic_client_session_peer.cc
@@ -18,9 +18,9 @@ void QuicClientSessionPeer::SetMaxOpenStreams(QuicClientSession* session,
}
// static
-void QuicClientSessionPeer::SetChannelIDKey(QuicClientSession* session,
- ChannelIDKey* channel_id_key) {
- session->crypto_stream_->channel_id_key_.reset(channel_id_key);
+void QuicClientSessionPeer::SetChannelIDSent(QuicClientSession* session,
+ bool channel_id_sent) {
+ session->crypto_stream_->channel_id_sent_ = channel_id_sent;
}
} // namespace test
« net/quic/quic_crypto_client_stream.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