Index: net/base/net_log_logger.cc |
diff --git a/net/base/net_log_logger.cc b/net/base/net_log_logger.cc |
index aa5ec4021f81b974164d15cfae98887a4313ad93..cd253be629c0707e3c73be1d6222e5401fc9b25f 100644 |
--- a/net/base/net_log_logger.cc |
+++ b/net/base/net_log_logger.cc |
@@ -127,6 +127,19 @@ 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(); |
+ |
+#define SDCH_PROBLEM_CODE(label, value) \ |
+ dict->SetInteger(#label, static_cast<int>(value)); |
+#include "net/base/sdch_problem_code_list.h" |
+#undef SDCH_PROBLEM_CODE |
+ |
+ constants_dict->Set("sdchProblemCode", dict); |
+ } |
+ |
// Add information on the relationship between QUIC error codes and their |
// symbolic names. |
{ |