Index: net/base/net_errors.cc |
diff --git a/net/base/net_errors.cc b/net/base/net_errors.cc |
index a9d1443c913003615f2d4742deb06ecc6bf8d512..12399f30304d85c9729743eb5f4040d35591381b 100644 |
--- a/net/base/net_errors.cc |
+++ b/net/base/net_errors.cc |
@@ -30,18 +30,18 @@ const char* ErrorToString(int error) { |
switch (error) { |
#define NET_ERROR(label, value) \ |
- case ERR_ ## label: \ |
- return "net::" STRINGIZE_NO_EXPANSION(ERR_ ## label); |
+ case ERR_##label: \ |
+ return "net::" STRINGIZE_NO_EXPANSION(ERR_##label); |
#include "net/base/net_error_list.h" |
#undef NET_ERROR |
- default: |
- return "net::<unknown>"; |
+ default: |
+ return "net::<unknown>"; |
} |
} |
std::vector<int> GetAllErrorCodesForUma() { |
- return base::CustomHistogram::ArrayToCustomRanges( |
- kAllErrorCodes, arraysize(kAllErrorCodes)); |
+ return base::CustomHistogram::ArrayToCustomRanges(kAllErrorCodes, |
+ arraysize(kAllErrorCodes)); |
} |
Error FileErrorToNetError(base::File::Error file_error) { |