| Index: chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| index b9501f4baffa5cfa0d6fc879be5919d7fda353d5..7c18b2c7de8a7bf402dab36a15a2e1fb17e4dbb8 100644
|
| --- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| +++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
| @@ -1930,6 +1930,32 @@ Value* NetInternalsUI::GetConstants() {
|
| constants_dict->Set("netError", dict);
|
| }
|
|
|
| + // Add information on the relationship between QUIC error codes and their
|
| + // symbolic names.
|
| + {
|
| + DictionaryValue* dict = new DictionaryValue();
|
| +
|
| +#define QUIC_ERROR(error) \
|
| + dict->SetInteger(# error, static_cast<int>(net::QUIC_ ## error));
|
| +#include "net/quic/quic_error_list.h"
|
| +#undef QUIC_ERROR
|
| +
|
| + constants_dict->Set("quicError", dict);
|
| + }
|
| +
|
| + // Add information on the relationship between QUIC RST_STREAM error codes
|
| + // and their symbolic names.
|
| + {
|
| + DictionaryValue* dict = new DictionaryValue();
|
| +
|
| +#define QUIC_RST_STREAM_ERROR(error) \
|
| + dict->SetInteger(# error, static_cast<int>(net::QUIC_ ## error));
|
| +#include "net/quic/quic_rst_stream_error_list.h"
|
| +#undef QUIC_RST_STREAM_ERROR
|
| +
|
| + constants_dict->Set("quicRstStreamError", dict);
|
| + }
|
| +
|
| // Information about the relationship between event phase enums and their
|
| // symbolic names.
|
| {
|
|
|