Index: net/quic/quic_crypto_client_stream.h |
diff --git a/net/quic/quic_crypto_client_stream.h b/net/quic/quic_crypto_client_stream.h |
index 9a6ebb2b490f474bf365c2ef8464620ffd6f0a60..edb0c359453c41f6aa121b5aa96a557a47df521f 100644 |
--- a/net/quic/quic_crypto_client_stream.h |
+++ b/net/quic/quic_crypto_client_stream.h |
@@ -20,6 +20,7 @@ class QuicClientSessionBase; |
namespace test { |
class CryptoTestUtils; |
+class QuicClientSessionPeer; |
} // namespace test |
class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream { |
@@ -44,6 +45,9 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream { |
// than the number of round-trips needed for the handshake. |
int num_sent_client_hellos() const; |
+ // Returns true if a channel ID was sent on this connection. |
+ bool WasChannelIDSent() const; |
+ |
private: |
// ChannelIDSourceCallbackImpl is passed as the callback method to |
// GetChannelIDKey. The ChannelIDSource calls this class with the result of |
@@ -86,6 +90,7 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream { |
}; |
friend class test::CryptoTestUtils; |
+ friend class test::QuicClientSessionPeer; |
enum State { |
STATE_IDLE, |