Index: net/base/net_log_logger.cc |
diff --git a/net/base/net_log_logger.cc b/net/base/net_log_logger.cc |
index b69a70be317c5efff0bdf177ebb2a2976a1ebe4b..1ba34d3e88636b1c198688ec7918c225a9c1e8fd 100644 |
--- a/net/base/net_log_logger.cc |
+++ b/net/base/net_log_logger.cc |
@@ -154,6 +154,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)); |
mmenke
2014/10/03 18:59:27
nit: +2 indent.
baranovich
2014/10/27 20:49:24
Done.
|
+#include "net/base/sdch_problem_code_list.h" |
+#undef SDCH_PROBLEM_CODE |
mmenke
2014/10/03 18:59:27
The code in this file has been refactored to reduc
baranovich
2014/10/27 20:49:24
Done.
|
+ |
+ constants_dict->Set("sdchProblemCode", dict); |
+ } |
+ |
// Add information on the relationship between QUIC error codes and their |
// symbolic names. |
{ |