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

Unified Diff: net/quic/quic_connection_logger.cc

Issue 17333003: Pretty-print QUIC CONNECTION_CLOSE and RST_STREAM error codes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix enum/int conversion problems. Created 7 years, 6 months 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 | « chrome/test/data/webui/net_internals/log_view_painter.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_logger.cc
diff --git a/net/quic/quic_connection_logger.cc b/net/quic/quic_connection_logger.cc
index df3d6ac97e3c0397f2f34e8fcbb41a06826542bf..952158872cf8358e7209f56fa6956d657fcd0c95 100644
--- a/net/quic/quic_connection_logger.cc
+++ b/net/quic/quic_connection_logger.cc
@@ -114,7 +114,7 @@ base::Value* NetLogQuicRstStreamFrameCallback(
NetLog::LogLevel /* log_level */) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetInteger("stream_id", frame->stream_id);
- dict->SetInteger("error_code", frame->error_code);
+ dict->SetInteger("quic_rst_stream_error", frame->error_code);
dict->SetString("details", frame->error_details);
return dict;
}
@@ -123,7 +123,7 @@ base::Value* NetLogQuicConnectionCloseFrameCallback(
const QuicConnectionCloseFrame* frame,
NetLog::LogLevel /* log_level */) {
base::DictionaryValue* dict = new base::DictionaryValue();
- dict->SetInteger("error_code", frame->error_code);
+ dict->SetInteger("quic_error", frame->error_code);
dict->SetString("details", frame->error_details);
return dict;
}
« no previous file with comments | « chrome/test/data/webui/net_internals/log_view_painter.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698