| Index: net/base/net_log_logger.cc
|
| diff --git a/net/base/net_log_logger.cc b/net/base/net_log_logger.cc
|
| index 99e769b27e0229ea944f663977e3c50e96e12645..67ba62da3c988a39b3e709a228f1cf61ee4ca0db 100644
|
| --- a/net/base/net_log_logger.cc
|
| +++ b/net/base/net_log_logger.cc
|
| @@ -49,6 +49,14 @@ const short kNetErrors[] = {
|
| #undef NET_ERROR
|
| };
|
|
|
| +const StringToConstant kSdchProblems[] = {
|
| +#define SDCH_PROBLEM_CODE(label, value) \
|
| + { #label, value } \
|
| + ,
|
| +#include "net/base/sdch_problem_code_list.h"
|
| +#undef SDCH_PROBLEM_CODE
|
| +};
|
| +
|
| } // namespace
|
|
|
| namespace net {
|
| @@ -157,6 +165,17 @@ base::DictionaryValue* NetLogLogger::GetConstants() {
|
| constants_dict->Set("netError", dict);
|
| }
|
|
|
| + // Add information on the relationship between SDCH problem codes and their
|
| + // symbolic names.
|
| + {
|
| + base::DictionaryValue* dict = new base::DictionaryValue();
|
| +
|
| + for (size_t i = 0; i < arraysize(kSdchProblems); i++)
|
| + dict->SetInteger(kSdchProblems[i].name, kSdchProblems[i].constant);
|
| +
|
| + constants_dict->Set("sdchProblemCode", dict);
|
| + }
|
| +
|
| // Add information on the relationship between QUIC error codes and their
|
| // symbolic names.
|
| {
|
|
|