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

Unified Diff: net/quic/crypto/crypto_framer.h

Issue 1541263002: Landing Recent QUIC changes until 12/18/2015 13:57 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: replace -1 with 0xff for InvalidPathId Created 5 years 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
« no previous file with comments | « net/quic/crypto/channel_id_test.cc ('k') | net/quic/crypto/crypto_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/crypto_framer.h
diff --git a/net/quic/crypto/crypto_framer.h b/net/quic/crypto/crypto_framer.h
index 420c1512df6ee4dbe3df1ea47d9e3bf2135b85d2..150b05a0c78c1a8722b96d8a105d3ae45359680d 100644
--- a/net/quic/crypto/crypto_framer.h
+++ b/net/quic/crypto/crypto_framer.h
@@ -57,6 +57,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.
@@ -101,6 +102,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_t num_entries_;
// tags_and_lengths_ contains the tags that are currently being parsed and
« no previous file with comments | « net/quic/crypto/channel_id_test.cc ('k') | net/quic/crypto/crypto_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698