Index: net/base/sdch_problem_codes.h |
diff --git a/net/base/sdch_problem_codes.h b/net/base/sdch_problem_codes.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7f489c2d4caedadf916b9ebe060d8b30a1a13fcb |
--- /dev/null |
+++ b/net/base/sdch_problem_codes.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef NET_BASE_SDCH_PROBLEM_CODES_H_ |
+#define NET_BASE_SDCH_PROBLEM_CODES_H_ |
+ |
+namespace net { |
+ |
+// A list of errors that appeared and were either resolved, or used to turn |
+// off sdch encoding. |
+enum SdchProblemCodes { |
mmenke
2014/10/03 18:59:27
nit: "SdchProblemCode" is the more common style,
baranovich
2014/10/27 20:49:25
Done.
|
+ SDCH_OK = 0, |
+ |
+#define SDCH_PROBLEM_CODE(label, value) SDCH_##label = value, |
+#include "net/base/sdch_problem_code_list.h" |
+#undef SDCH_PROBLEM_CODE |
+}; |
+ |
+} // namespace net |
+ |
+#endif // NET_BASE_SDCH_PROBLEM_CODES_H_ |