Index: net/quic/crypto/crypto_framer.h |
diff --git a/net/quic/crypto/crypto_framer.h b/net/quic/crypto/crypto_framer.h |
index 64137a20d26dc9bcfc97748be08dba40ad0763b1..ce2f13a55607dcdafec873cad1dec690f455aac7 100644 |
--- a/net/quic/crypto/crypto_framer.h |
+++ b/net/quic/crypto/crypto_framer.h |
@@ -55,6 +55,7 @@ class NET_EXPORT_PRIVATE CryptoFramer { |
} |
QuicErrorCode error() const { return error_; } |
+ const std::string& error_detail() const { return error_detail_; } |
// Processes input data, which must be delivered in order. Returns |
// false if there was an error, and true otherwise. |
@@ -99,6 +100,8 @@ class NET_EXPORT_PRIVATE CryptoFramer { |
CryptoFramerState state_; |
// The message currently being parsed. |
CryptoHandshakeMessage message_; |
+ // The issue which caused |error_| |
+ std::string error_detail_; |
// Number of entires in the message currently being parsed. |
uint16 num_entries_; |
// tags_and_lengths_ contains the tags that are currently being parsed and |