Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Unified Diff: net/base/net_errors.cc

Issue 10879058: Experiment to make net_error_list more greppable Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/net_errors.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_errors.cc
diff --git a/net/base/net_errors.cc b/net/base/net_errors.cc
index 8ac6b89757db279cf0f45a0ff242e20519455e02..79647132c1155f35b61616291eb724b81b82407d 100644
--- a/net/base/net_errors.cc
+++ b/net/base/net_errors.cc
@@ -30,8 +30,8 @@ const char* ErrorToString(int error) {
switch (error) {
#define NET_ERROR(label, value) \
- case ERR_ ## label: \
- return "net::" STRINGIZE_NO_EXPANSION(ERR_ ## label);
+ case label: \
+ return "net::" STRINGIZE_NO_EXPANSION(label);
#include "net/base/net_error_list.h"
#undef NET_ERROR
default:
« no previous file with comments | « net/base/net_errors.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698