summaryrefslogtreecommitdiff
path: root/chromium/net/third_party/quiche/src/quic/core/quic_crypto_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/third_party/quiche/src/quic/core/quic_crypto_stream.h')
-rw-r--r--chromium/net/third_party/quiche/src/quic/core/quic_crypto_stream.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/net/third_party/quiche/src/quic/core/quic_crypto_stream.h b/chromium/net/third_party/quiche/src/quic/core/quic_crypto_stream.h
index 86b691309bc..8197a5f4d75 100644
--- a/chromium/net/third_party/quiche/src/quic/core/quic_crypto_stream.h
+++ b/chromium/net/third_party/quiche/src/quic/core/quic_crypto_stream.h
@@ -149,9 +149,6 @@ class QUIC_EXPORT_PRIVATE QuicCryptoStream : public QuicStream {
// encryption level |level|.
virtual size_t BufferSizeLimitForLevel(EncryptionLevel level) const;
- // Returns whether the implementation supports key update.
- virtual bool KeyUpdateSupportedLocally() const = 0;
-
// Called to generate a decrypter for the next key phase. Each call should
// generate the key for phase n+1.
virtual std::unique_ptr<QuicDecrypter>
@@ -245,6 +242,10 @@ class QUIC_EXPORT_PRIVATE QuicCryptoStream : public QuicStream {
virtual void OnDataAvailableInSequencer(QuicStreamSequencer* sequencer,
EncryptionLevel level);
+ QuicStreamSequencer* GetStreamSequencerForLevel(EncryptionLevel level) {
+ return &substreams_[level].sequencer;
+ }
+
private:
// Data sent and received in CRYPTO frames is sent at multiple encryption
// levels. Some of the state for the single logical crypto stream is split