diff options
Diffstat (limited to 'chromium/net/quic/core/crypto/crypto_framer.h')
-rw-r--r-- | chromium/net/quic/core/crypto/crypto_framer.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/chromium/net/quic/core/crypto/crypto_framer.h b/chromium/net/quic/core/crypto/crypto_framer.h index 3daf862ef13..9ff70361959 100644 --- a/chromium/net/quic/core/crypto/crypto_framer.h +++ b/chromium/net/quic/core/crypto/crypto_framer.h @@ -12,6 +12,7 @@ #include <vector> #include "net/quic/core/crypto/crypto_handshake_message.h" +#include "net/quic/core/crypto/crypto_message_parser.h" #include "net/quic/core/quic_packets.h" #include "net/quic/platform/api/quic_export.h" @@ -32,22 +33,6 @@ class QUIC_EXPORT_PRIVATE CryptoFramerVisitorInterface { virtual void OnHandshakeMessage(const CryptoHandshakeMessage& message) = 0; }; -class QUIC_EXPORT_PRIVATE CryptoMessageParser { - public: - virtual ~CryptoMessageParser() {} - - virtual QuicErrorCode error() const = 0; - virtual const std::string& error_detail() const = 0; - - // Processes input data, which must be delivered in order. Returns - // false if there was an error, and true otherwise. - virtual bool ProcessInput(QuicStringPiece input, Perspective perspective) = 0; - - // Returns the number of bytes of buffered input data remaining to be - // parsed. - virtual size_t InputBytesRemaining() const = 0; -}; - // A class for framing the crypto messages that are exchanged in a QUIC // session. class QUIC_EXPORT_PRIVATE CryptoFramer : public CryptoMessageParser { |